@@ -44,8 +44,7 @@ The recommended installation method is using pip_::
44
44
pip install --upgrade robotframework-seleniumlibrary
45
45
46
46
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
49
48
first time.
50
49
51
50
It is possible to install directly from the GitHub _ repository. To install
@@ -64,39 +63,11 @@ using ``pip`` see `its own documentation <pip_>`__.
64
63
Browser drivers
65
64
---------------
66
65
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 `__.
96
68
69
+ __ https://www.selenium.dev/documentation/selenium_manager
97
70
__ 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
100
71
101
72
Usage
102
73
-----
0 commit comments