Skip to content

Commit e3c360f

Browse files
Jani Mikkonenaaltat
authored andcommitted
Fix 1301 - mention webdrivermanager in the seleniumlibrary docs. (robotframework#1320)
* Add note about webdrivermanager to README.rst Fixes robotframework#1301 * Mention README section for webdriver in docs Addresses robotframework#1301
1 parent c146096 commit e3c360f

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

README.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,24 @@ New browser driver versions are released to support features in
9393
new browsers, fix bug, or otherwise, and you need to keep an eye on them
9494
to know when to update drivers you use.
9595

96+
Alternatively, you can use a tool called WebdriverManager__ which can
97+
find the latest version or when required, any version of appropriate
98+
webdrivers for you and then download and link/copy it into right
99+
location. Tool can run on all major operating systems and supports
100+
downloading of Chrome, Firefox, Opera & Edge webdrivers.
101+
102+
Here's an example:
103+
104+
.. code:: bash
105+
106+
pip install webdrivermanager
107+
webdrivermanager firefox chrome --linkpath /usr/local/bin
108+
109+
110+
96111
__ https://seleniumhq.github.io/selenium/docs/api/py/index.html#drivers
97112
__ https://en.wikipedia.org/wiki/PATH_(variable)
113+
__ https://github.com/omenia/webdrivermanager
98114

99115
Usage
100116
-----

src/SeleniumLibrary/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ class SeleniumLibrary(DynamicCore):
5656
5757
SeleniumLibrary uses the Selenium WebDriver modules internally to
5858
control a web browser. See http://seleniumhq.org for more information
59-
about Selenium in general.
59+
about Selenium in general and SeleniumLibrary README.rst
60+
https://github.com/robotframework/SeleniumLibrary#browser-drivers
61+
for more details about webdriver binary instalation.
6062
6163
== Table of contents ==
6264

0 commit comments

Comments
 (0)