Skip to content

Local Selenium Pool @ Windows #1

@teokino

Description

@teokino

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions