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

Local Selenium Pool @ Windows #1

Open
teokino opened this issue Feb 17, 2019 · 0 comments
Open

Local Selenium Pool @ Windows #1

teokino opened this issue Feb 17, 2019 · 0 comments

Comments

@teokino
Copy link

teokino commented Feb 17, 2019

Hello,

I have tried to use Local Selenium Pool (LSP in short) on a Windows PC. It didn't work because of an issue related to the multiprocessing package. In fact LSP being developed under OSX uses the fork method to start a new process. Instead on Windows, the starting of a process in demanded to spawn. (https://github.com/testlabauto/local_selenium_pool)
I tried my selenium code and even the test_pool file. On Windows the results are the same and I got a crash in the body "function". Instead on a OSX machine, everything works fine.

So I have two simple question:

  1. Is there a way to change the starting method of a process from fork to spawn?
  2. In the case of running under OSX, is it mandatory to use the headless chromedriver? When I tried with a non headless, the chromedriver works but it starts only a thread instead of multiple.

I am grateful for your help.

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

1 participant