Skip to content

Commit f9e9792

Browse files
authored
Merge pull request #1938 from cgoldberg/readme-browser-drivers
Update README.rst 'Browser drivers' section
2 parents bbb50d5 + 15ce096 commit f9e9792

File tree

1 file changed

+4
-33
lines changed

1 file changed

+4
-33
lines changed

README.rst

Lines changed: 4 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ The recommended installation method is using pip_::
4444
pip install --upgrade robotframework-seleniumlibrary
4545

4646
Running this command installs also the latest Selenium and Robot Framework
47-
versions, but you still need to install `browser drivers`_ separately.
48-
The ``--upgrade`` option can be omitted when installing the library for the
47+
versions. The ``--upgrade`` option can be omitted when installing the library for the
4948
first time.
5049

5150
It is possible to install directly from the GitHub_ repository. To install
@@ -64,39 +63,11 @@ using ``pip`` see `its own documentation <pip_>`__.
6463
Browser drivers
6564
---------------
6665

67-
After installing the library, you still need to install browser and
68-
operating system specific browser drivers for all those browsers you
69-
want to use in tests. These are the exact same drivers you need to use with
70-
Selenium also when not using SeleniumLibrary. More information about
71-
drivers can be found from `Selenium documentation`__.
72-
73-
The general approach to install a browser driver is downloading a right
74-
driver, such as ``chromedriver`` for Chrome, and placing it into
75-
a directory that is in PATH__. Drivers for different browsers
76-
can be found via Selenium documentation or by using your favorite
77-
search engine with a search term like ``selenium chrome browser driver``.
78-
New browser driver versions are released to support features in
79-
new browsers, fix bug, or otherwise, and you need to keep an eye on them
80-
to know when to update drivers you use.
81-
82-
Alternatively, you can use a tool called WebdriverManager__ which can
83-
find the latest version or when required, any version of appropriate
84-
webdrivers for you and then download and link/copy it into right
85-
location. Tool can run on all major operating systems and supports
86-
downloading of Chrome, Firefox, Opera & Edge webdrivers.
87-
88-
Here's an example:
89-
90-
.. code:: bash
91-
92-
pip install webdrivermanager
93-
webdrivermanager firefox chrome --linkpath /usr/local/bin
94-
95-
66+
Browsers and drivers are installed and managed automatically by `Selenium Manager`__.
67+
For more information, see the `Selenium documentation`__.
9668

69+
__ https://www.selenium.dev/documentation/selenium_manager
9770
__ https://seleniumhq.github.io/selenium/docs/api/py/index.html#drivers
98-
__ https://en.wikipedia.org/wiki/PATH_(variable)
99-
__ https://github.com/omenia/webdrivermanager
10071

10172
Usage
10273
-----

0 commit comments

Comments
 (0)