c# - Selenium webdriver - driver.Navigate on same page -
i doing testings, .net webdriver.
the first test, opens windows ok, , next steps, want using same (current web page), , not opening new window browser each time.
my code driver.navigate().gotourl(baseurl + "/tableaubord"); everytime, need tests of suite link, open me new window, , test fail.
i found codes driver.to()...but compiler doesn' t propose choice.
can me out
cheers
you check system properties possible solution e.g.
system.setproperty("restart.browser.each.scenario", "false");
might you. otherwise try properties using
system.getproperties().tostring()
and check if there property fits need (or maybe find list properties via google).
Comments
Post a Comment