Why does Watir cry and panic when I try access iframe contents........ stop it
Edit: The bug in question appears to have existed for nine years, so it probably will not stop it.
I'm on Ubuntu Linux/Firefox 13 and WATIR. (watir-webdriver-0.6.1) I have a Webpage that contains links to about 16 iframes.. all linked like
In my case, I need both the parent and iframe HTML of multiple pages, but each time I use 'browser.iframe.html', the browser object loses the ability to correctly return 'browser.html' until I switch windows. If I call 'browser.html' on a page that has an iframe, it returns the first iframe's HTML instead; if I call it on one without an iframe, I get
"Selenium::WebDriver::Error::NoSuchWindowError: Browsing context has been discarded
from WebDriverError@chrome://remote/content/shared/webdriver/Errors.jsm:181:5"
...which is interesting because. I'm using Firefox.
I'll check later and see if switching to Chrome fixes it, I need to go cause other unrelated problems outdoors



















