JamesP
4 years agoOccasional Contributor
TestComplete 14.74 unable to identify objects in Iframe using Chrome
Hello, I've had a look around the messages and have not found a proper answer to the above question. I hope you can help! Using Keyword tests, Xpath or Native TC identifiers and Chrome 89.0.438...
- 4 years ago
The solution is to use the following switches when you launch Chrome:
"C:\Program Files (x86)\Google\Chrome\Application\Chrome.exe --disable-web-security --disable-site-isolation-trials --user-data-dir="C:\Users\<username>\AppData\Local\Google\Chrome\User Data\Default"
All my tests in Chrome and edge now can access the objects in the Iframe.
Thanks to the Smartbear support for providing this solution.