You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p><aclass="reference external" href="https://github.com/robotframework/SeleniumLibrary">SeleniumLibrary</a> is a web testing library for <aclass="reference external" href="https://robotframework.org">Robot Framework</a> that
32
30
utilizes the <aclass="reference external" href="https://www.seleniumhq.org/">Selenium</a> tool internally. The project is hosted on <aclass="reference external" href="https://github.com/robotframework/SeleniumLibrary">GitHub</a>
33
31
and downloads can be found from <aclass="reference external" href="https://pypi.python.org/pypi/robotframework-seleniumlibrary">PyPI</a>.</p>
34
-
<p>SeleniumLibrary works with Selenium 3 and 4. It supports Python 3.6 or
32
+
<p>SeleniumLibrary currently works with Selenium 4. It supports Python 3.8 or
35
33
newer. In addition to the normal <aclass="reference external" href="https://python.org">Python</a> interpreter, it works also
36
34
with <aclass="reference external" href="https://pypy.org">PyPy</a>.</p>
37
-
<p>SeleniumLibrary is based on the <aclass="reference external" href="https://github.com/robotframework/OldSeleniumLibrary">old SeleniumLibrary</a> that was forked to
38
-
<aclass="reference external" href="https://github.com/robotframework/Selenium2Library">Selenium2Library</a> and then later renamed back to SeleniumLibrary.
39
-
See the <aclass="reference internal" href="#versions">Versions</a> and <aclass="reference internal" href="#history">History</a> sections below for more information about
40
-
different versions and the overall project history.</p>
<p>SeleniumLibrary is based on the "old SeleniumLibrary" that was forked to
36
+
Selenium2Library and then later renamed back to SeleniumLibrary.
37
+
See the <aclass="reference external" href="https://github.com/robotframework/SeleniumLibrary/blob/master/VERSIONS.rst">VERSIONS.rst</a> for more information about different versions and the
versions, but you still need to install <aclass="reference internal" href="#browser-drivers">browser drivers</a> separately.
57
63
The <spanclass="docutils literal"><spanclass="pre">--upgrade</span></span> option can be omitted when installing the library for the
58
64
first time.</p>
59
-
<p>Those migrating from <aclass="reference external" href="https://github.com/robotframework/Selenium2Library">Selenium2Library</a> can install SeleniumLibrary so that
<p>The above command installs the normal SeleniumLibrary as well as a new
63
-
Selenium2Library version that is just a thin wrapper to SeleniumLibrary.
64
-
That allows importing Selenium2Library in tests while migrating to
65
-
SeleniumLibrary.</p>
66
-
<p>To install the last legacy <aclass="reference external" href="https://github.com/robotframework/Selenium2Library">Selenium2Library</a> version, use this command instead:</p>
<p>With recent versions of <spanclass="docutils literal">pip</span> it is possible to install directly from the
69
-
<aclass="reference external" href="https://github.com/robotframework/SeleniumLibrary">GitHub</a> repository. To install latest source from the master branch, use
70
-
this command:</p>
65
+
<p>It is possible to install directly from the <aclass="reference external" href="https://github.com/robotframework/SeleniumLibrary">GitHub</a> repository. To install
66
+
latest source from the master branch, use this command:</p>
<p>Please note that installation will take some time, because <spanclass="docutils literal">pip</span> will
73
69
clone the <aclass="reference external" href="https://github.com/robotframework/SeleniumLibrary">SeleniumLibrary</a> project to a temporary directory and then
<li><p><spanclass="docutils literal">#seleniumlibrary</span> and <spanclass="docutils literal"><spanclass="pre">#seleniumlibrary-dev</span></span> channels in
<p>SeleniumLibrary originally used the Selenium Remote Controller (RC) API.
264
-
When Selenium 2 was introduced with the new but backwards incompatible
265
-
WebDriver API, SeleniumLibrary kept using Selenium RC and separate
266
-
Selenium2Library using WebDriver was forked. These projects contained
267
-
mostly the same keywords and in most cases Selenium2Library was a drop-in
268
-
replacement for SeleniumLibrary.</p>
269
-
<p>Over the years development of the old SeleniumLibrary stopped and also
270
-
the Selenium RC API it used was deprecated. Selenium2Library was developed
271
-
further and replaced the old library as the de facto web testing library
272
-
for Robot Framework.</p>
273
-
<p>When Selenium 3 was released in 2016, it was otherwise backwards compatible
274
-
with Selenium 2, but the deprecated Selenium RC API was removed. This had two
275
-
important effects:</p>
276
-
<ulclass="simple">
277
-
<li><p>The old SeleniumLibrary could not anymore be used with new Selenium versions.
278
-
This project was pretty much dead.</p></li>
279
-
<li><p>Selenium2Library was badly named as it supported Selenium 3 just fine.
280
-
This project needed a new name.</p></li>
281
-
</ul>
282
-
<p>At the same time when Selenium 3 was released, Selenium2Library was going
283
-
through larger architecture changes in order to ease future maintenance and
284
-
to make adding Python 3 support easier. With all these big internal and
285
-
external changes, it made sense to rename Selenium2Library back to
286
-
SeleniumLibrary. This decision basically meant following changes:</p>
287
-
<ulclass="simple">
288
-
<li><p>Create separate repository for the <aclass="reference external" href="https://github.com/robotframework/OldSeleniumLibrary">old SeleniumLibrary</a> to preserve
289
-
its history since Selenium2Library was forked.</p></li>
290
-
<li><p>Rename Selenium2Library project and the library itself to <aclass="reference external" href="https://github.com/robotframework/SeleniumLibrary">SeleniumLibrary</a>.</p></li>
291
-
<li><p>Add new <aclass="reference external" href="https://github.com/robotframework/Selenium2Library">Selenium2Library</a> project to ease transitioning from Selenium2Library
292
-
to SeleniumLibrary.</p></li>
293
-
</ul>
294
-
<p>Going forward, all new development will happen in the new SeleniumLibrary
0 commit comments