You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
"wait until page contains element" doesn't find elements located in iframe #62
This is correct and as per the design. Frames and iframes consist of a separate HTML page than the 'main page' containing them. Thus u would have to select and switch to the frame first as then wait for the element.
I'm not saying this is how it should be. I'm just saying this is how it's always been designed....
In addition there is a related issue about the iframe support not really working at all. Which has been resolved in the iframe branch but there are design reasons why we haven't merged the iframe branch yet. So if u really need the support straight away u can get the iframe branch and it will work for you assuming u follow the steps outline in the first paragraph.
Activity
j1z0 commentedon Jun 9, 2012
This is correct and as per the design. Frames and iframes consist of a separate HTML page than the 'main page' containing them. Thus u would have to select and switch to the frame first as then wait for the element.
I'm not saying this is how it should be. I'm just saying this is how it's always been designed....
In addition there is a related issue about the iframe support not really working at all. Which has been resolved in the iframe branch but there are design reasons why we haven't merged the iframe branch yet. So if u really need the support straight away u can get the iframe branch and it will work for you assuming u follow the steps outline in the first paragraph.
Cheers,
Jeremy
On Jun 8, 2012, at 15:57, PavloSIreply@reply.github.com wrote:
r-chris commentedon Nov 23, 2018
I thought it may be helpful for anyone else stumbling onto this to add that you can select an
iframelike this:This works if you only have a single
iframe, but if you are looking to select a specific iframe you would have to expand thexpathappropriately.