0

我目前在Windows平台上运行Selenium Grid 3.4.0和phantomjs 2.1.1。将phantomjs节点注册到Selenium Grid

当我尝试将phantomjs节点注册到我中心会出现以下错误:

K:phantomjs-2.1.1-windows/bin/phantomjs.exe --webdriver=8080 
--webdriver-selenium-grid-hub=http://IP:5786 
[ERROR - 2017-06-05T13:35:55.135Z] GhostDriver - main.fail - 
{"line":85,"sourceU 
RL":"phantomjs://code/main.js","stack":"global 
[email protected]://code/main.js:85:56"} 

phantomjs://platform/console++.js:263错误

有谁知道怎么弄围绕这个错误? 目前我的集线器运行5个Firefox实例,5个Chrome实例和1个IE实例。

[ERROR - 2017-06-06T14:36:23.920Z] GhostDriver - main.fail - 
{"line":97,"sourceURL":"phantomjs://platform/hub_register.js","stack": 
"[email protected]://platform/hub_register.js:97:79\nglobal 
[email protected]://code/main.js:78:37"} 

我再次运行它,这次,这就是错误信息所说的。

回答

1

使用Phantomjs 1.9.8和它的工作...

+0

请接受你的答案(一旦计算器可以让你这样做),这样的问题可以被标记封闭。 –

+0

是的,我会这样做。我不知道为什么我必须等待一天。 – Jay

相关问题