Only one browser running with selenium Grid while other are launched inactive -
i running tests on selenium grid.i facing problem 1 browser(firefox) fed commands b server.other browsers launched load url , stay still.no activity happens in other browsers. similar posts figured out using static selenium instance .
public static selenium selenium=null; public webdriver driver;
and obtaining webdriverbackedselenium intance, scripts coded work selenium rc years back.
driver= new remotewebdriver(new url(nodeurl.concat(port).concat("/wd/hub")), selenium = new webdriverbackedselenium(driver, url);
now, have lot of static methods,as make selenium instance non-static,my tests flooded java errors.what possible solution can here.
Comments
Post a Comment