titusfortner / webdrivers

Keep your Selenium WebDrivers updated automatically
MIT License
593 stars 111 forks source link

Adds option to use chrome on Linux when running with WSL #195

Closed fabioxgn closed 3 years ago

fabioxgn commented 3 years ago

As discussed in #192, after v4.4.2 it is impossible to use Chrome on Linux when running in WSL as the system is detected as WSL and tries to always use the Chrome on Windows.

I don't know if this is the best solution to this, but i'd like to have the option to run Chrome on Linux and this solves my issue.

I'm not sure about the name of the env var and if this is clear enough, I'll be happy to accept suggestions.

fabioxgn commented 3 years ago

I'm closing this because I think that this is unecessary. We should detected that it is running on WSL2 and use Chrome on Linux, as explained here: https://github.com/titusfortner/webdrivers/issues/192#issuecomment-757130364