jeudi 24 septembre 2015

Watir - clicking on element works diffrent than manualy

I wrote test in watir, and one of line doesn't work correctly:

$browser.element(:css => '#sub-15079 > div.ardbnServerInformation').click

When I click manualy on this element, browser opens new tab and everything is fine. But when watir clicks on this element, browser opens new window (instead tab) and data in window doesn't load. How to fix this difference in behaviour?

Aucun commentaire:

Enregistrer un commentaire