Closed DKarap closed 10 years ago
we should check of there are more than one window opened everytime we click an element; is tehre are then we need to go to the new window and not stay at the current one. The current one always is the old one.
The cases of get(url) or switchFrame(index) needs investigation if open new windows
implement close all other windows function and this is handle in the module where driver is used...
we should handle internaly in the webdriver cases where we have alert boxes..
this solution doent handle Jquery dialog boxes; these ones can handfle as normal html elements... https://code.google.com/p/selenium/issues/detail?id=1528 http://www.warmteservice.nl/
In actions that we load new pages or click elements we may have multiple windows to handle; we need to check if this is happening with the ghostdriver too. See code from Robot.java