Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebDriver: Second session hangs #150

Open
JRaspass opened this issue Jun 13, 2024 · 0 comments
Open

WebDriver: Second session hangs #150

JRaspass opened this issue Jun 13, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@JRaspass
Copy link

$ ./Meta/ladybird.sh run WebDriver
...
Listening on 0.0.0.0:8000

First request works fine, opens the window and receives a session ID of 0:

$ curl -d '{"capabilities":{}}' http://127.0.0.1:8000/session
{"value":{"sessionId":"0","capabilities":{"browserName":"ladybird","browserVersion":"1.0","platformName":"linux","acceptInsecureCerts":false,"strictFileInteractability":false,"setWindowRect":true,"serenity:ladybird":{"headless":false},"pageLoadStrategy":"normal","timeouts":{"script":30000,"pageLoad":300000,"implicit":0},"unhandledPromptBehavior":"dismiss and notify"}}}

Second request opens a new tab but never gets a response:

$ curl -d '{"capabilities":{}}' http://127.0.0.1:8000/session
...hangs...

Deleting the existing session either before or after the second POST works in that it gets a response but doesn't prevent future hangs:

$ curl -XDELETE http://127.0.0.1:8000/session/0
{"value":null}
@ADKaster ADKaster added the bug Something isn't working label Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants