From 3ede2252d6653d12da26e2731718605d138b1453 Mon Sep 17 00:00:00 2001 From: stib Date: Thu, 29 Oct 2020 11:33:17 +1100 Subject: [PATCH] Add package managers Added info for Chocolatey users on Windows. Should probably add Homebrew for mac and the major linux package managers, as these are a much simpler way of getting the binaries. --- .../webdriver/driver_requirements.en.md | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/docs_source_files/content/webdriver/driver_requirements.en.md b/docs_source_files/content/webdriver/driver_requirements.en.md index 85fc8f5e0620..42d24e51c828 100644 --- a/docs_source_files/content/webdriver/driver_requirements.en.md +++ b/docs_source_files/content/webdriver/driver_requirements.en.md @@ -632,4 +632,25 @@ so whilst the web will continue to change, PhantomJS will not be updated. This was after Google announced the ability to run Chrome headlessly, something also now offered by Mozilla's Firefox. +### Chocolatey +On Windows systems the driver binaries can be installed individually, or as a collection using [chocolatey](https://chocolatey.org/). + +* To find the available drivers, use choco list: + +```shell +choco list selenium +``` + +* you will be given a list of all the selenium related downloads avialble through chocolatey. Be aware that this is a keyword search, so there may be results that use the word selenium that are not directly related to the project. +* individual binaries can be installed thus: + +```shell +choco install selenium-chrome-driver selenium-gecko-driver +``` +* all of the available drivers can be installed using: + +```shell + choco install selenium-all-drivers + ``` + This will automatically update the `PATH`.