-
Notifications
You must be signed in to change notification settings - Fork 5.8k
"Error forwarding the new session new session request for webdriver should contain a location header with the session" When using PhantomJS with selenium grid in RemoteWebDriver mode #11610
Comments
I am also seeing this. It does not occur with phantomjs 1.9.1. I imagine this is something introduced in the new ghostdriver code. |
There is question up on stack overflow describing this exact issue here: |
This seems to be solved by updating to the 2.35.0 selenium jar. You can get it here: |
seeing this problem consistently with phantom 1.9.2 with selenium 2.35.0
|
Maybe not phantomJs related, but I have the same problem when connecting from Behat Selenium2Driver. In my case problem was in diverged versions of Selenium Node and Selenium Grid (node had 2.37 and grid had 2.33) After updating version on Selenium Grid server everything works fine. |
Due to our very limited maintenance capacity, we need to prioritize our development focus on other tasks. Therefore, this issue will be automatically closed (see #15395 for more details). In the future, if we see the need to attend to this issue again, then it will be reopened. Thank you for your contribution! |
I start a selenium grid hub with it's default startup command,
And I start up PhantomJS in it's webdriver mode, on the same machine, like,
When PhantomJS starts up, I get nothing but "All 'OK'" messages,
But if I try to use that browser, with
Looking at the output from the PhantomJS executable,
Everything seems to be fine, but the code crashes :/ I get a huge error stacktrace, mainly down to,
And if you check the output of the grid hub,
There also seems to be an issue. It seems like, for whatever reason, the grid hub doesn't get any information back from the PhantomJS executable, even though it seems like it is processing things correctly.
For testing, I also have a regular selenium node running, on the same machine, with the command
and if I start up a Firefox RemoteWebDriver session (in Python), with
all is fine.
It looks like everything is set up correctly, I'm keeping things as 'vanilla' and close to what the docs say as possible, but just can't get over the fence here.
The exact same error happens when trying in Java, too
And my versions are 1.9.2 for PhantomJS and obviously 2.33.0 for selenium.
The text was updated successfully, but these errors were encountered: