There are many occasions, using Watir or Watir-Webdriver, when we need to do some testing in one browser window, open another, possibly close it, and return to the first. Watir handles this a bit more transparently than Watir-Webdriver. With Watir you are dealing directly with IE through OLE and IE handles windows and tabs differently…
Read moreLet’s not kid ourselves, closing popups with Watir, Selenium, and even Webdriver has always been a pain. Even if the built in methods work 95% of the time, that remaining 5% can take sometimes days to sort out a duck tape fix to that specific popup problem. We have definitely had our fair share…
Read moreLet’s not kid ourselves, closing popups with Watir, Selenium, and even Webdriver has always been a pain. Even if the built in methods work 95% of the time, that remaining 5% can take sometimes days to sort out a duck tape fix to that specific popup problem. We have definitely had our fair share of…
Read moreThere are times, we hope rare, when we need to attach an Internet Explorer window where not all of the ready states are complete. Here is an example where the window contains several frames and one of the frames never gets beyond ready state ‘loading’. Watir‘s normal #attach method waits for the overall document to…
Read moreThere are times, we hope rare, when we need to attach an Internet Explorer window where not all of the ready states are complete. Here is an example where the window contains several frames and one of the frames never gets beyond ready state ‘loading’. Watir‘s normal #attach method waits for the overall document to…
Read more