You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.
I was having issues when calling Page.Navigate() and got the error failed to navigate: failed request: invalid session id.
After some digging in the code I got to the point where the session got initiated.
Here the response from the chromedriver:
HTTP/1.1 200 OK
Content-Length:503
Content-Type:application/json; charset=utf-8
{"sessionId":"51576e1fde8127c51faf316a072d9123","status":13,"value":{"message":"unknown error: Chrome failed to start: exited abnormally.\n (unknown error: DevToolsActivePort file doesn't exist)\n (The process started from chrome location /usr/lib64/chromium/chromium is no longer running, so ChromeDriver is assuming that Chrome has crashed.)\n (Driver info: chromedriver=84.0.4147.89 (19abfe7bcba9318a0b2a6bc6634a67fc834aa592-refs/branch-heads/4147@{#852}),platform=Linux 5.7.9-1-default x86_64)"}}
As we can see, obviously the session is in some bad state and it would be nice to fail right here with the message from the chromedriver.
Instead failing at Page.Navigate(), fail me at Driver.NewPage() and the received message. The status 13 must mean something in the protocol, i guess.
Ciao Pierre
The text was updated successfully, but these errors were encountered:
This needs an X server running so that Chrome can be started
successfully. Without this, it fails to start, and agouti reports a
cryptic "invalid session id" error message.
Details discovered via issue here: sclevine/agouti#211
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
I was having issues when calling
Page.Navigate()
and got the errorfailed to navigate: failed request: invalid session id
.After some digging in the code I got to the point where the session got initiated.
Here the response from the chromedriver:
As we can see, obviously the session is in some bad state and it would be nice to fail right here with the message from the chromedriver.
Instead failing at Page.Navigate(), fail me at Driver.NewPage() and the received message. The status 13 must mean something in the protocol, i guess.
Ciao Pierre
The text was updated successfully, but these errors were encountered: