Closed davidlinse closed 10 years ago
I'll look into it, but at a first glance this looks like a selenium exception.
I can confirm this is happening with the same set up as @davidlinse. Makeing the same change as suggested does not seem to have any impact.
could you give me some info on how to reproduce this? thanks.
@beatfactor what other infos do you need ?
regards ~david
@beatfactor Looking at @davidlinse logs, I experienced the same error message, and updating the empty string to and empty JSON object '{}'
has fixed the problem.
We are running tests written in NightwatchJS against a Jenkins server with the Selenium Plugin (updated to 2.39.0) which then hands the tests off to a Windows XP VM running Chrome and IE8. Watching the request, I can see Nightwatch send the DELETE
or POST
, the Selenium Hub receives the message with data:
and throws the error that @beatfactor has attached. The node never sees the request as the error is thrown by Selenium Hub (Grid2?).
If there's anything else I can help provide, please let me know. Until then, we'll be modifying line 22 of request.js.
I would like to try and replicate your setup. I don't have much experience with the grid-server.
On Fri, Feb 21, 2014 at 10:25 PM, David Linse notifications@github.comwrote:
@beatfactor https://github.com/beatfactor what other infos do you need ?
regards ~david
Reply to this email directly or view it on GitHubhttps://github.com/beatfactor/nightwatch/issues/32#issuecomment-35775243 .
I've setup a demo branch davidlinse/nightwatch@2a543c197 hope this helps.. Let me know if you need more infos.
thanks, I'll look into this.
i guess, this could be closed as well now ?
did the content-length header fix this also?
I had this issue previously and it was fixed by this commit. -- Chris Egner
On March 21, 2014 at 2:57:15 PM, David Linse (notifications@github.com) wrote:
i guess, this could be closed as well now ?
— Reply to this email directly or view it on GitHub.
I've retested this, works great.
alright, then let's close it.
When running the following test against a selenium grid-hub/ -node setup the browser stays open and the selenium-hub logs the an exception.
For the log output of the selenium-hub and nightwatch (with
--verbose
option) these two gits selenium-hub.log and nightwatch.logVersions: (OSX 10.6.8)
Running nightwatch version: v0.3.1 (d942ed9)
If you need further infos please let me know. regards ~david