2

I try to work with multiple tabs with selenium webdriver. I send the keys Control+t to html body and open a new tab. However web driver does not recognize that I have a new tab and I still have only one item in WindowHandles which equals to CurrentWindowHandle.
I tried to switch to ActiveElement or just sleep for 5 seconds but that didn't help either.
Please help :)

Thanks a lot

user3734429
  • 322
  • 1
  • 10
  • But you can actually see that tab opened? – alecxe Aug 04 '15 at 14:43
  • Is it reproducible in both chrome and firefox? – alecxe Aug 04 '15 at 14:44
  • Yes - the tab is opened. Chrome - didn't try. Do you think it is a FF related issue? – user3734429 Aug 04 '15 at 14:48
  • Yeah, could be Firefox related, see: http://stackoverflow.com/questions/28079411/controlling-firefox-tabs-in-selenium and http://stackoverflow.com/questions/30258624/selenium-window-handles-not-correct-when-new-window-is-opened-wtih-python. – alecxe Aug 04 '15 at 14:48

0 Answers0