You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Works on macOS, Linux, Windows, and Windows Subsystem for Linux (WSL) v1.
17
+
Works on macOS, Linux, Windows, and Windows Subsystem for Linux (WSL) v1 and v2. And do see the browser and OS specific
18
+
notes at the bottom.
18
19
19
20
## Usage
20
21
@@ -195,21 +196,7 @@ The logging level can be configured for debugging purpose:
195
196
Webdrivers.logger.level =:DEBUG
196
197
```
197
198
198
-
### WSLv1 support
199
-
200
-
While WSLv1 is not designed to run headful applications like Chrome, it can run exes; as such when found to be running
201
-
in WSL, `webdrivers` will use the Windows `chromedriver.exe`.
202
-
203
-
It's recommended that you install the new PowerShell (PS7) to avoid [a known issue](https://github.com/microsoft/terminal/issues/367)
204
-
with the console font being changed when calling the old PowerShell (PS5).
205
-
206
-
### WSLv2 support
207
-
208
-
Webdrivers will detect WSLv2 as running on Linux.
209
-
210
-
WSLv2 doesn't support connecting to host ports out of the box, so it isn't possible to connect to Chromedriver on Windows without extra configurations, see: https://github.com/microsoft/WSL/issues/4619. The simplest way to use Chromedriver with WSLv2 is to run Chrome headless on Linux.
211
-
212
-
### Browser Specific Notes
199
+
### Browser & OS Specific Notes
213
200
214
201
#### Chrome/Chromium
215
202
@@ -234,7 +221,7 @@ variable.
234
221
This is also required if Google Chrome is not installed in its
Follow the specific instructions [here](https://github.com/titusfortner/webdrivers/wiki/Heroku-buildpack-google-chrome) if you're using `heroku-buildpack-google-chrome`.
240
227
@@ -246,6 +233,27 @@ section apply to this browser as well.
246
233
247
234
Please note that `msedgedriver` requires `selenium-webdriver` v4.
248
235
236
+
#### WSLv1 support
237
+
238
+
While WSLv1 is not designed to run headful applications like Chrome, it can run exes; as such when found to be running
239
+
in WSL, `webdrivers` will use Chrome on the Windows filesystem.
240
+
241
+
It's recommended that you install the new PowerShell (PS7) to avoid [a known issue](https://github.com/microsoft/terminal/issues/367)
242
+
with the console font being changed when calling the old PowerShell (PS5).
243
+
244
+
#### WSLv2 support
245
+
246
+
Webdrivers will detect WSLv2 as running on Linux and use Chrome on the Linux filesystem.
247
+
248
+
WSLv2 doesn't support connecting to host ports out of the box, so it isn't possible to connect to Chromedriver on
249
+
Windows without extra configurations, see: https://github.com/microsoft/WSL/issues/4619. The simplest way to use
250
+
Chromedriver with WSLv2 is to run Chrome headless on Linux.
251
+
252
+
#### Chrome and Edge on Apple M1 (`arm64`)
253
+
254
+
If you're switching from Intel to M1, you'll have to manually delete the existing Intel (`mac64`) driver before the
255
+
M1 (`arm64`) build can be downloaded. Otherwise, you'll get an error: `Bad CPU type in executable - ~/.webdrivers/chromedriver (Errno::E086)`
256
+
249
257
## Wiki
250
258
251
259
Please see the [wiki](https://github.com/titusfortner/webdrivers/wiki)
0 commit comments