Error registering PhantomJS node in Selenium Grid

Viewed 4062

I have the following problem

  • I successfully launched Selenium Grid hub with:

java -jar selenium-server-standalone-2.53.0.jar -role hub

  • After that I tried to launch PhantomJS node with:

phantomjs --webdriver=8090 --webdriver-selenium-grid-hub=http://localhost:4444


but got Error:

[INFO - 2016-03-25T13:56:28.397Z] GhostDriver - Main - running on port 8090 [INFO - 2016-03-25T13:56:28.397Z] GhostDriver - Main - registering to Selenium HUB 'http://localhost:4444' version: using '127.0.0.1:8090' with org.openqa.grid.selenium.proxy.DefaultRemoteProxy as remote proxy. [ERROR - 2016-03-25T13:56:28.400Z] GhostDriver - main.fail - {"line":97,"sourceURL":"phantomjs://platform/hub_register.js","stack":"register@phantomjs://platform/hub_register.js:97:79\nglobal code@phantomjs://code/main.js:78:37"}

phantomjs://platform/console++.js:263 in error

Standard node works ok, but PhantomJS failes. What I'm doing wrong?

7 Answers

For anyone still looking, there are linux and windows x64 builds available here with the workaround of v2.1.1 (windows build is on a pull request - the hex editor workaround wont work for windows cos the .exe's are compressed)

https://github.com/mrorgues/PhantomJSCustomEdition

Related