Selenium, how to open a link in new window?What I want to do is automate what we do manually by "right click->open in new window".I am aware how to switch to new window if the link is opened in a new window.What I want to do is open in a new window automatically, using selenium.
相关问题
- Selecting an item from a combo box selenium driver
- Selenium in Java is not finding element when using
- How to send text to the search field through Selen
- What is the difference in “find_element_by_xpath”
- TestCafe - The browser always starts in clean slat
If you are using Selenium RC you can use the storeEval command to execute a javascript snippet which opens a new window.
This worked for me in FF 3.6 but not 6beta