@@ -10,14 +10,14 @@ SeleniumLibrary_ is a web testing library for `Robot Framework`_ that
10
10
utilizes the Selenium _ tool internally. The project is hosted on GitHub _
11
11
and downloads can be found from PyPI _.
12
12
13
- SeleniumLibrary works with Selenium 3 and 4. It supports Python 3.6 or
13
+ SeleniumLibrary currently works with Selenium 4. It supports Python 3.8 or
14
14
newer. In addition to the normal Python _ interpreter, it works also
15
15
with PyPy _.
16
16
17
- SeleniumLibrary is based on the ` old SeleniumLibrary `_ that was forked to
18
- Selenium2Library _ and then later renamed back to SeleniumLibrary.
19
- See the Versions _ and History _ sections below for more information about
20
- different versions and the overall project history.
17
+ SeleniumLibrary is based on the " old SeleniumLibrary" that was forked to
18
+ Selenium2Library and then later renamed back to SeleniumLibrary.
19
+ See the ` VERSIONS.rst `_ for more information about different versions and the
20
+ overall project history.
21
21
22
22
.. image :: https://img.shields.io/pypi/v/robotframework-seleniumlibrary.svg?label=version
23
23
:target: https://pypi.python.org/pypi/robotframework-seleniumlibrary
@@ -48,23 +48,8 @@ versions, but you still need to install `browser drivers`_ separately.
48
48
The ``--upgrade `` option can be omitted when installing the library for the
49
49
first time.
50
50
51
- Those migrating from Selenium2Library _ can install SeleniumLibrary so that
52
- it is exposed also as Selenium2Library::
53
-
54
- pip install --upgrade robotframework-selenium2library
55
-
56
- The above command installs the normal SeleniumLibrary as well as a new
57
- Selenium2Library version that is just a thin wrapper to SeleniumLibrary.
58
- That allows importing Selenium2Library in tests while migrating to
59
- SeleniumLibrary.
60
-
61
- To install the last legacy Selenium2Library _ version, use this command instead::
62
-
63
- pip install robotframework-selenium2library==1.8.0
64
-
65
- With recent versions of ``pip `` it is possible to install directly from the
66
- GitHub _ repository. To install latest source from the master branch, use
67
- this command::
51
+ It is possible to install directly from the GitHub _ repository. To install
52
+ latest source from the master branch, use this command::
68
53
69
54
pip install git+https://github.com/robotframework/SeleniumLibrary.git
70
55
@@ -197,77 +182,13 @@ Community
197
182
If the provided documentation is not enough, there are various community channels
198
183
available:
199
184
200
- - `robotframework-users `_ mailing list
201
185
- ``#seleniumlibrary `` and ``#seleniumlibrary-dev `` channels in
202
186
Robot Framework `Slack community `_
203
187
- `Robot Framework forum `_ has channel for SeleniumLibrary.
204
188
- SeleniumLibrary `issue tracker `_ for bug reports and concrete enhancement
205
189
requests
206
190
- `Other community channels `_ including paid support
207
191
208
- Versions
209
- --------
210
-
211
- SeleniumLibrary has over the years lived under SeleniumLibrary and
212
- Selenium2Library names and different library versions have supported
213
- different Selenium and Python versions. This is summarized in the table
214
- below and the History _ section afterwards explains the project history
215
- a bit more.
216
-
217
- ================================== ========================== ========================== ===============
218
- Project Selenium Version Python Version Comment
219
- ================================== ========================== ========================== ===============
220
- SeleniumLibrary 2.9.2 and earlier Selenium 1 and 2 Python 2.5-2.7 The original SeleniumLibrary using Selenium RC API.
221
- Selenium2Library 1.8.0 and earlier Selenium 2 and 3 Python 2.6-2.7 Fork of SeleniumLibrary using Selenium WebDriver API.
222
- SeleniumLibrary 3.0 and 3.1 Selenium 2 and 3 Python 2.7 and 3.3+ Selenium2Library renamed and with Python 3 support and new architecture.
223
- SeleniumLibrary 3.2 Selenium 3 Python 2.7 and 3.4+ Drops Selenium 2 support.
224
- SeleniumLibrary 4.0 Selenium 3 Python 2.7 and 3.4+ Plugin API and support for event friging webdriver.
225
- SeleniumLibrary 4.1 Selenium 3 Python 2.7 and 3.5+ Drops Python 3.4 support.
226
- SeleniumLibrary 4.2 Selenium 3 Python 2.7 and 3.5+ Supports only Selenium 3.141.0 or newer.
227
- SeleniumLibrary 4.4 Selenium 3 and 4 Python 2.7 and 3.6+ New PythonLibCore and dropped Python 3.5 support.
228
- SeleniumLibrary 5.0 Selenium 3 and 4 Python 3.6+ Python 2 and Jython support is dropped.
229
- SeleniumLibrary 5.1 Selenium 3 and 4 Python 3.6+ Robot Framework 3.1 support is dropped.
230
- Selenium2Library 3.0 Depends on SeleniumLibrary Depends on SeleniumLibrary Thin wrapper for SeleniumLibrary 3.0 to ease transition.
231
- ================================== ========================== ========================== ===============
232
-
233
- History
234
- -------
235
-
236
- SeleniumLibrary originally used the Selenium Remote Controller (RC) API.
237
- When Selenium 2 was introduced with the new but backwards incompatible
238
- WebDriver API, SeleniumLibrary kept using Selenium RC and separate
239
- Selenium2Library using WebDriver was forked. These projects contained
240
- mostly the same keywords and in most cases Selenium2Library was a drop-in
241
- replacement for SeleniumLibrary.
242
-
243
- Over the years development of the old SeleniumLibrary stopped and also
244
- the Selenium RC API it used was deprecated. Selenium2Library was developed
245
- further and replaced the old library as the de facto web testing library
246
- for Robot Framework.
247
-
248
- When Selenium 3 was released in 2016, it was otherwise backwards compatible
249
- with Selenium 2, but the deprecated Selenium RC API was removed. This had two
250
- important effects:
251
-
252
- - The old SeleniumLibrary could not anymore be used with new Selenium versions.
253
- This project was pretty much dead.
254
- - Selenium2Library was badly named as it supported Selenium 3 just fine.
255
- This project needed a new name.
256
-
257
- At the same time when Selenium 3 was released, Selenium2Library was going
258
- through larger architecture changes in order to ease future maintenance and
259
- to make adding Python 3 support easier. With all these big internal and
260
- external changes, it made sense to rename Selenium2Library back to
261
- SeleniumLibrary. This decision basically meant following changes:
262
-
263
- - Create separate repository for the `old SeleniumLibrary `_ to preserve
264
- its history since Selenium2Library was forked.
265
- - Rename Selenium2Library project and the library itself to SeleniumLibrary _.
266
- - Add new Selenium2Library _ project to ease transitioning from Selenium2Library
267
- to SeleniumLibrary.
268
-
269
- Going forward, all new development will happen in the new SeleniumLibrary
270
- project.
271
192
272
193
.. _Robot Framework : https://robotframework.org
273
194
.. _Selenium : https://www.seleniumhq.org/
@@ -291,3 +212,5 @@ project.
291
212
.. _Robot Framework forum : https://forum.robotframework.org/
292
213
.. _issue tracker : https://github.com/robotframework/SeleniumLibrary/issues
293
214
.. _Other community channels : https://robotframework.org/#community
215
+ .. _VERSIONS.rst : https://github.com/robotframework/SeleniumLibrary/blob/master/VERSIONS.rst
216
+
0 commit comments