Safari WebDriver not registered on Selenium Grid 2 -
i able run script on mac-chrome , fire fox using selenium-server-standalone-2.44.0.jar. but, when run safari on same mac, error:
**exception in thread "main" org.openqa.selenium.webdriverexception: error forwarding new session cannot find : {browsername=safari, javascriptenabled=true, version=, cleansession=true, platform=mac} command duration or timeout: 130 milliseconds**
when registered node got following message:
mac:/ labuser$ java -jar selenium-server-standalone-2.44.0.jar -role webdriver -hub ://x.x.x.x:4444/grid/register -port 5566 23:08:11.804 info - launching selenium grid node 23:08:12.259 info - java: apple inc. 20.65-b04-466.1 23:08:12.259 info - os: mac os x 10.9.5 x86_64 23:08:12.267 info - v2.44.0, core v2.44.0. built revision 76d78cf 23:08:12.334 info - default driver org.openqa.selenium.ie.internetexplorerdriver registration skipped: registration capabilities capabilities [{platform=windows, ensurecleansession=true, browsername=internet explorer, version=}] not match current platform: mac 23:08:12.457 info - remotewebdriver instances should connect to: ://x.x.x.x.1:5566/wd/hub 23:08:12.457 info - version jetty/5.1.x 23:08:12.458 info - started httpcontext[/selenium-server/driver,/selenium-server/driver] 23:08:12.458 info - started httpcontext[/selenium-server,/selenium-server] 23:08:12.459 info - started httpcontext[/,/] 23:08:12.464 info - started org.openqa.jetty.jetty.servlet.servlethandler@5097d026 23:08:12.464 info - started httpcontext[/wd,/wd] 23:08:12.466 info - started socketlistener on 0.0.0.0:5566 23:08:12.466 info - started org.openqa.jetty.jetty.server@12d56b37 23:08:12.527 info - using json request : **{"class":"org.openqa.grid.common.registrationrequest","configuration":{"register":true,"port":5566,"host":"x.x.x.x","proxy":"org.openqa.grid.selenium.proxy.defaultremoteproxy","maxsession":5,"role":"webdriver","hubhost":"x.x.x.x","registercycle":5000,"hub":"...x.x.x.x:4444/grid/register","hubport":4444,"url":"...x.x.x.x:5566","remotehost":"...x.x.x.x:5566"},"capabilities":[{"platform":"mac","seleniumprotocol":"webdriver","browsername":"firefox","maxinstances":5},{"platform":"mac","seleniumprotocol":"webdriver","browsername":"chrome","maxinstances":5},{"seleniumprotocol":"webdriver","platform":"windows","browsername":"internet explorer","maxinstances":1}]}** 23:08:12.527 info - starting auto register thread. try register every 5000 ms. 23:08:12.527 info - registering node hub :://x.x.x.x:4444/grid/register
looking @ json request @ node , error in script, think safari webdriver extension not able register server. using safari webdriver extension 2.38.0 (by selenium project) , enabled.
need help.
i able though starting node as: java -jar selenium-server-standalone-2.44.0.jar -role webdriver -hub ...://x.x.x.x:4444/grid/register -port 5566 -browser "browsername=internet explorer ,maxinstances=5"
now runs fine
Comments
Post a Comment