Tag Info

Hot answers tagged

2

Try this Driver.SwitchTo().frame("Fancybox-frame"); Driver.findElement("enter your xpath to close popup").click(); Driver.SwitchTo().defaultContent();


2

Try this Driver.findElement(By.xpath("enter your xpath")).click();


1

We are using Xvfb in our Continuous Integration environment and it is working great. It's no problem to take screenshots from Selenium for later analysis when errors are found. We have found no problems with this solution, rather a great advantage to be able to use virtual servers to spawn massively parallel tests against installations of the software.



Only top voted, non community-wiki answers of a minimum length are eligible