Skip to content

Commit 310245c

Browse files
committed
Update CLI output examples in Selenium Manager pages
1 parent 5c73d58 commit 310245c

File tree

4 files changed

+92
-88
lines changed

4 files changed

+92
-88
lines changed

website_and_docs/content/documentation/selenium_manager.en.md

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -186,16 +186,15 @@ Let's consider a typical example: we want to manage chromedriver automatically.
186186

187187
```
188188
$ ./selenium-manager --browser chrome --debug
189-
DEBUG chromedriver not found in PATH
190-
DEBUG chrome detected at C:\Program Files\Google\Chrome\Application\chrome.exe
191-
DEBUG Running command: wmic datafile where name='C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe' get Version /value
192-
DEBUG Output: "\r\r\n\r\r\nVersion=116.0.5845.111\r\r\n\r\r\n\r\r\n\r"
193-
DEBUG Detected browser: chrome 116.0.5845.111
194-
DEBUG Discovering versions from https://googlechromelabs.github.io/chrome-for-testing/known-good-versions-with-downloads.json
195-
DEBUG Required driver: chromedriver 116.0.5845.96
196-
DEBUG Downloading chromedriver 116.0.5845.96 from https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/116.0.5845.96/win64/chromedriver-win64.zip
197-
INFO Driver path: C:\Users\boni\.cache\selenium\chromedriver\win64\116.0.5845.96\chromedriver.exe
198-
INFO Browser path: C:\Program Files\Google\Chrome\Application\chrome.exe
189+
DEBUG chromedriver not found in PATH
190+
DEBUG chrome detected at C:\Program Files\Google\Chrome\Application\chrome.exe
191+
DEBUG Detected browser: chrome 139.0.7258.67
192+
DEBUG Discovering versions from https://googlechromelabs.github.io/chrome-for-testing/known-good-versions-with-downloads.json
193+
DEBUG Required driver: chromedriver 139.0.7258.68
194+
DEBUG Acquiring lock: C:\Users\boni\.cache\selenium\chromedriver\win64\139.0.7258.68\sm.lock
195+
DEBUG Downloading chromedriver 139.0.7258.68 from https://storage.googleapis.com/chrome-for-testing-public/139.0.7258.68/win64/chromedriver-win64.zip
196+
INFO Driver path: C:\Users\boni\.cache\selenium\chromedriver\win64\139.0.7258.68\chromedriver.exe
197+
INFO Browser path: C:\Program Files\Google\Chrome\Application\chrome.exe
199198
```
200199

201200
In this case, the local Chrome (in Windows) is detected by Selenium Manager. Then, using its version and the CfT endpoints, the proper chromedriver version (115, in this example) is downloaded to the local cache. Finally, Selenium Manager provides two results: i) the driver path (downloaded) and ii) the browser path (local).
@@ -204,18 +203,20 @@ Let's consider another example. Now we want to use Chrome beta. Therefore, we in
204203

205204
```
206205
$ ./selenium-manager --browser chrome --browser-version beta --debug
207-
DEBUG chromedriver not found in PATH
208-
DEBUG chrome not found in PATH
209-
DEBUG chrome beta not found in the system
210-
DEBUG Discovering versions from https://googlechromelabs.github.io/chrome-for-testing/last-known-good-versions-with-downloads.json
211-
DEBUG Required browser: chrome 117.0.5938.22
212-
DEBUG Downloading chrome 117.0.5938.22 from https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/117.0.5938.22/win64/chrome-win64.zip
213-
DEBUG chrome 117.0.5938.22 has been downloaded at C:\Users\boni\.cache\selenium\chrome\win64\117.0.5938.22\chrome.exe
214-
DEBUG Discovering versions from https://googlechromelabs.github.io/chrome-for-testing/known-good-versions-with-downloads.json
215-
DEBUG Required driver: chromedriver 117.0.5938.22
216-
DEBUG Downloading chromedriver 117.0.5938.22 from https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/117.0.5938.22/win64/chromedriver-win64.zip
217-
INFO Driver path: C:\Users\boni\.cache\selenium\chromedriver\win64\117.0.5938.22\chromedriver.exe
218-
INFO Browser path: C:\Users\boni\.cache\selenium\chrome\win64\117.0.5938.22\chrome.exe
206+
DEBUG chromedriver not found in PATH
207+
DEBUG chrome not found in PATH
208+
DEBUG chrome beta not found in the system
209+
DEBUG Discovering versions from https://googlechromelabs.github.io/chrome-for-testing/last-known-good-versions-with-downloads.json
210+
DEBUG Required browser: chrome 140.0.7339.16
211+
DEBUG Acquiring lock: C:\Users\boni\.cache\selenium\chrome\win64\140.0.7339.16\sm.lock
212+
DEBUG Downloading chrome 140.0.7339.16 from https://storage.googleapis.com/chrome-for-testing-public/140.0.7339.16/win64/chrome-win64.zip
213+
DEBUG chrome 140.0.7339.16 is available at C:\Users\boni\.cache\selenium\chrome\win64\140.0.7339.16\chrome.exe
214+
DEBUG Discovering versions from https://googlechromelabs.github.io/chrome-for-testing/known-good-versions-with-downloads.json
215+
DEBUG Required driver: chromedriver 140.0.7339.16
216+
DEBUG Acquiring lock: C:\Users\boni\.cache\selenium\chromedriver\win64\140.0.7339.16\sm.lock
217+
DEBUG Downloading chromedriver 140.0.7339.16 from https://storage.googleapis.com/chrome-for-testing-public/140.0.7339.16/win64/chromedriver-win64.zip
218+
INFO Driver path: C:\Users\boni\.cache\selenium\chromedriver\win64\140.0.7339.16\chromedriver.exe
219+
INFO Browser path: C:\Users\boni\.cache\selenium\chrome\win64\140.0.7339.16\chrome.exe
219220
```
220221

221222
### Using Selenium Manager from the bindings

website_and_docs/content/documentation/selenium_manager.ja.md

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -186,16 +186,15 @@ Let's consider a typical example: we want to manage chromedriver automatically.
186186

187187
```
188188
$ ./selenium-manager --browser chrome --debug
189-
DEBUG chromedriver not found in PATH
190-
DEBUG chrome detected at C:\Program Files\Google\Chrome\Application\chrome.exe
191-
DEBUG Running command: wmic datafile where name='C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe' get Version /value
192-
DEBUG Output: "\r\r\n\r\r\nVersion=116.0.5845.111\r\r\n\r\r\n\r\r\n\r"
193-
DEBUG Detected browser: chrome 116.0.5845.111
194-
DEBUG Discovering versions from https://googlechromelabs.github.io/chrome-for-testing/known-good-versions-with-downloads.json
195-
DEBUG Required driver: chromedriver 116.0.5845.96
196-
DEBUG Downloading chromedriver 116.0.5845.96 from https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/116.0.5845.96/win64/chromedriver-win64.zip
197-
INFO Driver path: C:\Users\boni\.cache\selenium\chromedriver\win64\116.0.5845.96\chromedriver.exe
198-
INFO Browser path: C:\Program Files\Google\Chrome\Application\chrome.exe
189+
DEBUG chromedriver not found in PATH
190+
DEBUG chrome detected at C:\Program Files\Google\Chrome\Application\chrome.exe
191+
DEBUG Detected browser: chrome 139.0.7258.67
192+
DEBUG Discovering versions from https://googlechromelabs.github.io/chrome-for-testing/known-good-versions-with-downloads.json
193+
DEBUG Required driver: chromedriver 139.0.7258.68
194+
DEBUG Acquiring lock: C:\Users\boni\.cache\selenium\chromedriver\win64\139.0.7258.68\sm.lock
195+
DEBUG Downloading chromedriver 139.0.7258.68 from https://storage.googleapis.com/chrome-for-testing-public/139.0.7258.68/win64/chromedriver-win64.zip
196+
INFO Driver path: C:\Users\boni\.cache\selenium\chromedriver\win64\139.0.7258.68\chromedriver.exe
197+
INFO Browser path: C:\Program Files\Google\Chrome\Application\chrome.exe
199198
```
200199

201200
In this case, the local Chrome (in Windows) is detected by Selenium Manager. Then, using its version and the CfT endpoints, the proper chromedriver version (115, in this example) is downloaded to the local cache. Finally, Selenium Manager provides two results: i) the driver path (downloaded) and ii) the browser path (local).
@@ -204,18 +203,20 @@ Let's consider another example. Now we want to use Chrome beta. Therefore, we in
204203

205204
```
206205
$ ./selenium-manager --browser chrome --browser-version beta --debug
207-
DEBUG chromedriver not found in PATH
208-
DEBUG chrome not found in PATH
209-
DEBUG chrome beta not found in the system
210-
DEBUG Discovering versions from https://googlechromelabs.github.io/chrome-for-testing/last-known-good-versions-with-downloads.json
211-
DEBUG Required browser: chrome 117.0.5938.22
212-
DEBUG Downloading chrome 117.0.5938.22 from https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/117.0.5938.22/win64/chrome-win64.zip
213-
DEBUG chrome 117.0.5938.22 has been downloaded at C:\Users\boni\.cache\selenium\chrome\win64\117.0.5938.22\chrome.exe
214-
DEBUG Discovering versions from https://googlechromelabs.github.io/chrome-for-testing/known-good-versions-with-downloads.json
215-
DEBUG Required driver: chromedriver 117.0.5938.22
216-
DEBUG Downloading chromedriver 117.0.5938.22 from https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/117.0.5938.22/win64/chromedriver-win64.zip
217-
INFO Driver path: C:\Users\boni\.cache\selenium\chromedriver\win64\117.0.5938.22\chromedriver.exe
218-
INFO Browser path: C:\Users\boni\.cache\selenium\chrome\win64\117.0.5938.22\chrome.exe
206+
DEBUG chromedriver not found in PATH
207+
DEBUG chrome not found in PATH
208+
DEBUG chrome beta not found in the system
209+
DEBUG Discovering versions from https://googlechromelabs.github.io/chrome-for-testing/last-known-good-versions-with-downloads.json
210+
DEBUG Required browser: chrome 140.0.7339.16
211+
DEBUG Acquiring lock: C:\Users\boni\.cache\selenium\chrome\win64\140.0.7339.16\sm.lock
212+
DEBUG Downloading chrome 140.0.7339.16 from https://storage.googleapis.com/chrome-for-testing-public/140.0.7339.16/win64/chrome-win64.zip
213+
DEBUG chrome 140.0.7339.16 is available at C:\Users\boni\.cache\selenium\chrome\win64\140.0.7339.16\chrome.exe
214+
DEBUG Discovering versions from https://googlechromelabs.github.io/chrome-for-testing/known-good-versions-with-downloads.json
215+
DEBUG Required driver: chromedriver 140.0.7339.16
216+
DEBUG Acquiring lock: C:\Users\boni\.cache\selenium\chromedriver\win64\140.0.7339.16\sm.lock
217+
DEBUG Downloading chromedriver 140.0.7339.16 from https://storage.googleapis.com/chrome-for-testing-public/140.0.7339.16/win64/chromedriver-win64.zip
218+
INFO Driver path: C:\Users\boni\.cache\selenium\chromedriver\win64\140.0.7339.16\chromedriver.exe
219+
INFO Browser path: C:\Users\boni\.cache\selenium\chrome\win64\140.0.7339.16\chrome.exe
219220
```
220221

221222
### Using Selenium Manager from the bindings

website_and_docs/content/documentation/selenium_manager.pt-br.md

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -186,16 +186,15 @@ Let's consider a typical example: we want to manage chromedriver automatically.
186186

187187
```
188188
$ ./selenium-manager --browser chrome --debug
189-
DEBUG chromedriver not found in PATH
190-
DEBUG chrome detected at C:\Program Files\Google\Chrome\Application\chrome.exe
191-
DEBUG Running command: wmic datafile where name='C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe' get Version /value
192-
DEBUG Output: "\r\r\n\r\r\nVersion=116.0.5845.111\r\r\n\r\r\n\r\r\n\r"
193-
DEBUG Detected browser: chrome 116.0.5845.111
194-
DEBUG Discovering versions from https://googlechromelabs.github.io/chrome-for-testing/known-good-versions-with-downloads.json
195-
DEBUG Required driver: chromedriver 116.0.5845.96
196-
DEBUG Downloading chromedriver 116.0.5845.96 from https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/116.0.5845.96/win64/chromedriver-win64.zip
197-
INFO Driver path: C:\Users\boni\.cache\selenium\chromedriver\win64\116.0.5845.96\chromedriver.exe
198-
INFO Browser path: C:\Program Files\Google\Chrome\Application\chrome.exe
189+
DEBUG chromedriver not found in PATH
190+
DEBUG chrome detected at C:\Program Files\Google\Chrome\Application\chrome.exe
191+
DEBUG Detected browser: chrome 139.0.7258.67
192+
DEBUG Discovering versions from https://googlechromelabs.github.io/chrome-for-testing/known-good-versions-with-downloads.json
193+
DEBUG Required driver: chromedriver 139.0.7258.68
194+
DEBUG Acquiring lock: C:\Users\boni\.cache\selenium\chromedriver\win64\139.0.7258.68\sm.lock
195+
DEBUG Downloading chromedriver 139.0.7258.68 from https://storage.googleapis.com/chrome-for-testing-public/139.0.7258.68/win64/chromedriver-win64.zip
196+
INFO Driver path: C:\Users\boni\.cache\selenium\chromedriver\win64\139.0.7258.68\chromedriver.exe
197+
INFO Browser path: C:\Program Files\Google\Chrome\Application\chrome.exe
199198
```
200199

201200
In this case, the local Chrome (in Windows) is detected by Selenium Manager. Then, using its version and the CfT endpoints, the proper chromedriver version (115, in this example) is downloaded to the local cache. Finally, Selenium Manager provides two results: i) the driver path (downloaded) and ii) the browser path (local).
@@ -204,18 +203,20 @@ Let's consider another example. Now we want to use Chrome beta. Therefore, we in
204203

205204
```
206205
$ ./selenium-manager --browser chrome --browser-version beta --debug
207-
DEBUG chromedriver not found in PATH
208-
DEBUG chrome not found in PATH
209-
DEBUG chrome beta not found in the system
210-
DEBUG Discovering versions from https://googlechromelabs.github.io/chrome-for-testing/last-known-good-versions-with-downloads.json
211-
DEBUG Required browser: chrome 117.0.5938.22
212-
DEBUG Downloading chrome 117.0.5938.22 from https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/117.0.5938.22/win64/chrome-win64.zip
213-
DEBUG chrome 117.0.5938.22 has been downloaded at C:\Users\boni\.cache\selenium\chrome\win64\117.0.5938.22\chrome.exe
214-
DEBUG Discovering versions from https://googlechromelabs.github.io/chrome-for-testing/known-good-versions-with-downloads.json
215-
DEBUG Required driver: chromedriver 117.0.5938.22
216-
DEBUG Downloading chromedriver 117.0.5938.22 from https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/117.0.5938.22/win64/chromedriver-win64.zip
217-
INFO Driver path: C:\Users\boni\.cache\selenium\chromedriver\win64\117.0.5938.22\chromedriver.exe
218-
INFO Browser path: C:\Users\boni\.cache\selenium\chrome\win64\117.0.5938.22\chrome.exe
206+
DEBUG chromedriver not found in PATH
207+
DEBUG chrome not found in PATH
208+
DEBUG chrome beta not found in the system
209+
DEBUG Discovering versions from https://googlechromelabs.github.io/chrome-for-testing/last-known-good-versions-with-downloads.json
210+
DEBUG Required browser: chrome 140.0.7339.16
211+
DEBUG Acquiring lock: C:\Users\boni\.cache\selenium\chrome\win64\140.0.7339.16\sm.lock
212+
DEBUG Downloading chrome 140.0.7339.16 from https://storage.googleapis.com/chrome-for-testing-public/140.0.7339.16/win64/chrome-win64.zip
213+
DEBUG chrome 140.0.7339.16 is available at C:\Users\boni\.cache\selenium\chrome\win64\140.0.7339.16\chrome.exe
214+
DEBUG Discovering versions from https://googlechromelabs.github.io/chrome-for-testing/known-good-versions-with-downloads.json
215+
DEBUG Required driver: chromedriver 140.0.7339.16
216+
DEBUG Acquiring lock: C:\Users\boni\.cache\selenium\chromedriver\win64\140.0.7339.16\sm.lock
217+
DEBUG Downloading chromedriver 140.0.7339.16 from https://storage.googleapis.com/chrome-for-testing-public/140.0.7339.16/win64/chromedriver-win64.zip
218+
INFO Driver path: C:\Users\boni\.cache\selenium\chromedriver\win64\140.0.7339.16\chromedriver.exe
219+
INFO Browser path: C:\Users\boni\.cache\selenium\chrome\win64\140.0.7339.16\chrome.exe
219220
```
220221

221222
### Using Selenium Manager from the bindings

website_and_docs/content/documentation/selenium_manager.zh-cn.md

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -287,16 +287,15 @@ Selenium Manager 采用与 Selenium 相同的版本命名规则.
287287

288288
```
289289
$ ./selenium-manager --browser chrome --debug
290-
DEBUG chromedriver not found in PATH
291-
DEBUG chrome detected at C:\Program Files\Google\Chrome\Application\chrome.exe
292-
DEBUG Running command: wmic datafile where name='C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe' get Version /value
293-
DEBUG Output: "\r\r\n\r\r\nVersion=116.0.5845.111\r\r\n\r\r\n\r\r\n\r"
294-
DEBUG Detected browser: chrome 116.0.5845.111
295-
DEBUG Discovering versions from https://googlechromelabs.github.io/chrome-for-testing/known-good-versions-with-downloads.json
296-
DEBUG Required driver: chromedriver 116.0.5845.96
297-
DEBUG Downloading chromedriver 116.0.5845.96 from https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/116.0.5845.96/win64/chromedriver-win64.zip
298-
INFO Driver path: C:\Users\boni\.cache\selenium\chromedriver\win64\116.0.5845.96\chromedriver.exe
299-
INFO Browser path: C:\Program Files\Google\Chrome\Application\chrome.exe
290+
DEBUG chromedriver not found in PATH
291+
DEBUG chrome detected at C:\Program Files\Google\Chrome\Application\chrome.exe
292+
DEBUG Detected browser: chrome 139.0.7258.67
293+
DEBUG Discovering versions from https://googlechromelabs.github.io/chrome-for-testing/known-good-versions-with-downloads.json
294+
DEBUG Required driver: chromedriver 139.0.7258.68
295+
DEBUG Acquiring lock: C:\Users\boni\.cache\selenium\chromedriver\win64\139.0.7258.68\sm.lock
296+
DEBUG Downloading chromedriver 139.0.7258.68 from https://storage.googleapis.com/chrome-for-testing-public/139.0.7258.68/win64/chromedriver-win64.zip
297+
INFO Driver path: C:\Users\boni\.cache\selenium\chromedriver\win64\139.0.7258.68\chromedriver.exe
298+
INFO Browser path: C:\Program Files\Google\Chrome\Application\chrome.exe
300299
```
301300

302301
在这种情况下, Selenium Manager会检测到本地的 Chrome(在 Windows 系统中).
@@ -310,18 +309,20 @@ i)驱动程序路径(已下载)和 ii)浏览器路径(本地).
310309

311310
```
312311
$ ./selenium-manager --browser chrome --browser-version beta --debug
313-
DEBUG chromedriver not found in PATH
314-
DEBUG chrome not found in PATH
315-
DEBUG chrome beta not found in the system
316-
DEBUG Discovering versions from https://googlechromelabs.github.io/chrome-for-testing/last-known-good-versions-with-downloads.json
317-
DEBUG Required browser: chrome 117.0.5938.22
318-
DEBUG Downloading chrome 117.0.5938.22 from https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/117.0.5938.22/win64/chrome-win64.zip
319-
DEBUG chrome 117.0.5938.22 has been downloaded at C:\Users\boni\.cache\selenium\chrome\win64\117.0.5938.22\chrome.exe
320-
DEBUG Discovering versions from https://googlechromelabs.github.io/chrome-for-testing/known-good-versions-with-downloads.json
321-
DEBUG Required driver: chromedriver 117.0.5938.22
322-
DEBUG Downloading chromedriver 117.0.5938.22 from https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/117.0.5938.22/win64/chromedriver-win64.zip
323-
INFO Driver path: C:\Users\boni\.cache\selenium\chromedriver\win64\117.0.5938.22\chromedriver.exe
324-
INFO Browser path: C:\Users\boni\.cache\selenium\chrome\win64\117.0.5938.22\chrome.exe
312+
DEBUG chromedriver not found in PATH
313+
DEBUG chrome not found in PATH
314+
DEBUG chrome beta not found in the system
315+
DEBUG Discovering versions from https://googlechromelabs.github.io/chrome-for-testing/last-known-good-versions-with-downloads.json
316+
DEBUG Required browser: chrome 140.0.7339.16
317+
DEBUG Acquiring lock: C:\Users\boni\.cache\selenium\chrome\win64\140.0.7339.16\sm.lock
318+
DEBUG Downloading chrome 140.0.7339.16 from https://storage.googleapis.com/chrome-for-testing-public/140.0.7339.16/win64/chrome-win64.zip
319+
DEBUG chrome 140.0.7339.16 is available at C:\Users\boni\.cache\selenium\chrome\win64\140.0.7339.16\chrome.exe
320+
DEBUG Discovering versions from https://googlechromelabs.github.io/chrome-for-testing/known-good-versions-with-downloads.json
321+
DEBUG Required driver: chromedriver 140.0.7339.16
322+
DEBUG Acquiring lock: C:\Users\boni\.cache\selenium\chromedriver\win64\140.0.7339.16\sm.lock
323+
DEBUG Downloading chromedriver 140.0.7339.16 from https://storage.googleapis.com/chrome-for-testing-public/140.0.7339.16/win64/chromedriver-win64.zip
324+
INFO Driver path: C:\Users\boni\.cache\selenium\chromedriver\win64\140.0.7339.16\chromedriver.exe
325+
INFO Browser path: C:\Users\boni\.cache\selenium\chrome\win64\140.0.7339.16\chrome.exe
325326
```
326327

327328
### Using Selenium Manager from the bindings

0 commit comments

Comments
 (0)