Can FluentSelenium change tabs for when tabs/windows are opened via _blank hrefs in anchor elements
blling opened this issue · comments
blling commented
Have a link <a target="_blank" href="http://somenewpage"/>
in the current test page,after click the link then how could i switch to http://somenewpage
and test the element of page http://somenewpage
?
tips:
target="_blank"
add a new page, then there are two pages...
Paul Hammant commented
You need to do that change in regular WebDriver. Fluent-Selenium can't help you there.
Read https://stackoverflow.com/questions/12729265/switch-tabs-using-selenium-webdriver-with-java and similar postings on StackOverflow
blling commented
Tks!
Paul Hammant commented
You're welcome :)