selenium webdriver - click link opens a new browser window -
i using robot framework ide selenium2library.
now problem:
my test opens firefox , goes page. on page link. have click on link , go on testing on new page. link not open in same browser window. tried new window keyword "select window" url=https//...
(thats url of page opens in new browser window) localization still on first browser window. tried keyword "switch browser" url of sec window not work too.
does have thought how can switch other browser window?
an other thought url of link , open in new browser window keyword "open browser". not have thought how url of link?
try switching new window based on it's title:
select window title=<title of new window>
you can window titles using - get window titles
selenium-webdriver robotframework
No comments:
Post a Comment