Showing results for 
Search instead for 
Did you mean: 

Finding objects within iFrames.

Not applicable

Finding objects within iFrames.

I'm having trouble finding child objects within iFrames. If someone has some sample code that they could share it would be much appreciated.

Community Manager

RE: Finding objects within iFrames.

Hi Adrian,


What browser are you using? If it's Chrome, and the frame shows the page from a different domain, you face some known specifics listed here:

With the default security settings Chrome follows the same-origin policy and does not allow cross-origin interaction. Because of this, TestComplete cannot access the contents of cross-origin framesets (when a host of an HTML frame differs from the host of the parent page). To test the contents of such framesets, you need to open the contained frame as a separate web page or launch the Chrome application with the --disable-web-security command-line switch.


Let me know if this isn't the case.

Tanya Yatskovskaya
SmartBear Community and Education Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Occasional Contributor

Re: RE: Finding objects within iFrames.

Hi Team,



Please Help Me Even I am unable to find the Frame child objects in Object Tree


Version: 12.42.3048.7

Google Chrome Version 69.0.3497.100
Mozilla FireFox 
Microsoft Edge
regards Vinod Ryaka
New Here?
Join us and watch the welcome video:
Top Kudoed Authors