splinter icon indicating copy to clipboard operation
splinter copied to clipboard

test execution stalls on with iframe as

Open IanHeffernan opened this issue 14 years ago • 2 comments

Hi, I have a test that opens a link in an iframe in a page.

self.browser.parent_window = self.browser.current_window 
with self.browser.get_iframe('document_frame') as frame:
    frame.click_link_by_text("sampledocument2")
assert self.browser.is_text_present("Version as of Jan 1st, 2009")

The assert statement is never executed. Is there a way to pass execution back to the main browser from the frame?

Thanks & Regards

Ian Heffernan

IanHeffernan avatar Sep 13 '12 15:09 IanHeffernan

@andrewsmedina I can't reproduce this issue, and there's tests to validate iframes. The issue is over 7 years old, so 🤷‍♂

javascript-error avatar Jan 07 '20 20:01 javascript-error

@jsfehler I will close this issue ;)

andrewsmedina avatar Jan 09 '20 20:01 andrewsmedina