using ruby test and selenium grid how can I keep the same browser window for multiple tests?
- by George Horlacher
Each of my tests start a new selenium client browser and tear it down so they can run stand alone with this code:
def setup
if $selenium
@selenium = $selenium
else
@selenium = Selenium::SeleniumDriver.new("#$sell_server", 4444, "#$browser", "http://#$network.#$host:2086", 10000);
@selenium.start
end…