Selenium. How to swith to a window that contains a partial substring?
I have three windows open as a result of Selenium manipulations. I need to
switch the the window who's URL contains a substring "Servlet"
driver.switchTo().window("*Servlet*");
How can I code it correctly?
No comments:
Post a Comment