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

Why geckodriver does not allow multiple sessions? #1946

Closed
prRZ5F4LXZ opened this issue Oct 12, 2021 · 1 comment
Closed

Why geckodriver does not allow multiple sessions? #1946

prRZ5F4LXZ opened this issue Oct 12, 2021 · 1 comment

Comments

@prRZ5F4LXZ
Copy link

https://www.autoitscript.com/forum/topic/192730-webdriver-udf-help-support/page/15/

I see the following error below on the above page.

{"value":{"error":"session not created","message":"Session is already started","stacktrace":""}}

But chromedriver does allow multiple sessions. Why geckodriver does not allow multiple sessions. How to make geckodriver allow multiple sessions without using multiple ports?

System

  • Version: not relevant
  • Platform: not relevant
  • Firefox: not relevant
  • Selenium: not relevant

Testcase

not relevant

Stacktrace

not relevant

Trace-level log

not relevant

@whimboo
Copy link
Collaborator

whimboo commented Oct 12, 2021

geckodriver is WebDriver specification conformant, which defines that there can only be a single WebDriver HTTP session active. Internally it doesn't act as a proxy supporting multiplexing. As such you will have to start dedicated geckodriver instances for each and every job you want to run.

Closing because this is by design.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants