diff --git a/docs/drivers/chrome.rst b/docs/drivers/chrome.rst index b8b46f20f..7b8dc31dc 100644 --- a/docs/drivers/chrome.rst +++ b/docs/drivers/chrome.rst @@ -76,6 +76,21 @@ For example: my_service = Service(executable_path='') browser = Browser('chrome', service=my_service) +Custom binary path +~~~~~~~~~~~~~~~~~~~~~~ + +The Service object can be used to specify the binary path. +For example: + +.. code-block:: python + + from selenium import webdriver + + chrome_options = webdriver.chrome.options.Options() + chrome_options.binary_location = "/path/to/canary" + browser = Browser('chrome', options=chrome_options) + + API docs -------- diff --git a/docs/drivers/firefox.rst b/docs/drivers/firefox.rst index 8e8564f02..6cbfd8fb0 100644 --- a/docs/drivers/firefox.rst +++ b/docs/drivers/firefox.rst @@ -55,6 +55,23 @@ For example: browser = Browser('firefox', service=my_service) +Custom binary path +~~~~~~~~~~~~~~~~~~~~~~ + +The Service object can be used to specify the binary path. +For example: + +.. code-block:: python + + from selenium import webdriver + + firefox_options = webdriver.firefox.options.Options() + firefox_options.binary_location = "/path/to/canary" + browser = Browser('firefox', options=firefox_options) + + + + Specify Profile +++++++++++++++