Closed bigxiang closed 3 years ago
I believe #196 fixes this on WSL2. Can you load this gem from the master
branch and see if the issue gets fixed?
Wow, that works well! Thank you so much @kapoorlakshya !
Great! I'm working to release this in v4.5 very soon.
Summary
I want to setup an RSpec acceptance test environment on a windows laptop. I am using WSLv2 and have Ubuntu 20.04 installed, but I am not running tests in Ubuntu directly, instead a Docker container is running in Ubuntu which runs my tests. I installed
Headless Chrome
in the Docker container and expect it to be run byWebdrivers
, butWebdrivers
was looking forwslpath
instead.Debug Info
Please provide the following information for bug reports:
Expected Behavior
I tried to run
RAILS_ENV=test bundle exec rake webdrivers:chromedriver:update
in Docker, Chrome driver was supposed to be installed successfully.Actual Behavior
I saw an error message saying that
wslpath
cannot be found. Per my understanding, a Docker environment should be isolated, why does Webdrivers seekwslpath
here?Here is my Chromium installation in the Docker container:
I have a same Docker container installed on my Mac, it looks good. I guess there are something fishy in WSLv2, but I really have few knowledge about that.
Thank you for your help!