Skip to content

Commit 0cd42c8

Browse files
author
Tatu Aalto
committed
README tuning for different Selenium[:2] versions
1 parent bd28a33 commit 0cd42c8

File tree

1 file changed

+60
-0
lines changed

1 file changed

+60
-0
lines changed

README.rst

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,62 @@ See `Robot Framework User Guide`_ for more information.
5353
A demo project illustrating how to use this library can be found from:
5454
https://bitbucket.org/robotframework/webdemo
5555

56+
Differences between SeleniumLibrary versions
57+
============================================
58+
59+
Selenium versions
60+
-----------------
61+
62+
There are three main version of Selenium: `Selenium Remote Control`_ (RC or Selenium
63+
1), `Selenium 2`_ and `Selenium 3`_.
64+
65+
The Selenium RC works only with major browsers that has JavaScript enabled. It
66+
also requires a selenium server which automatically launches and kills browsers.
67+
The Selenium RC is not anymore maintained by the Selenium.
68+
69+
The Selenium 2 supports Selenium RC and Selenium WebDirver. Selenium WebDriver
70+
does not need separate server to launch and kill servers and it has simpler
71+
and more concise API then Selenium RC.
72+
73+
The Selenium 3 supports only Selenium WebDirver and has started to adopt
74+
the `W3C WebDriver`_ specification. If excluding the dropped Selenium RC
75+
support, Selenium 3 is a drop in replacement for Selenium 2.
76+
77+
Selenium support in Robot Framework
78+
-----------------------------------
79+
80+
The SeleniumLibrary version up to 2.9.2 supports only the Selenium RC.
81+
82+
The Selenium2Library versions up to 1.8.0 and from SeleniumLibrary 3.0.0
83+
version onwards supports Selenium 2 and 3
84+
85+
Python support
86+
--------------
87+
88+
The SeleniumLibrary version up to 2.9.2 and the Selenium2Library
89+
versions up to 1.8.0 supports only Python 2
90+
91+
Starting from SeleniumLibrary 3.0.0 version onwards Python 2 and Python 3.3+ are
92+
supported.
93+
94+
History
95+
-------
96+
97+
The SeleniumLibrary up to 2.9.2 version was actively developed by using the
98+
Selenium RC. When the Selenium 2 reached mature enough state, the Selenium2Library
99+
was forked from SeleniumLibary and modified to use the Selenium WebDriver. The
100+
SeleniumLibrary, with Selenium RC support, active development ended
101+
when Selenium RC was deprecated.
102+
103+
When Selenium 3 was released it was adopted by the Selenium2Library
104+
because Selenium 3 is a drop in replacement for Selenium 2. Also the
105+
Selenium2Library relies only on the WebDriver technology and it did not
106+
need any changes to support Selenium 3.
107+
108+
In release 3.0.0, it was decided to rename the Selenium2Library back to
109+
SeleniumLibrary. This was done because the name more resembles what the library
110+
supports and enables.
111+
56112
Support
57113
-------
58114

@@ -78,6 +134,10 @@ information:
78134
.. _INSTALL.rst: https://github.com/robotframework/SeleniumLibrary/blob/master/INSTALL.rst
79135
.. _BUILD.rst: https://github.com/robotframework/SeleniumLibrary/blob/master/BUILD.rst
80136
.. _Robot Framework User Guide: http://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html
137+
.. _Selenium Remote Control: http://www.seleniumhq.org/projects/remote-control/
138+
.. _Selenium 2: http://www.seleniumhq.org/projects/webdriver/
139+
.. _Selenium 3: http://www.seleniumhq.org/projects/webdriver/
140+
.. _W3C WebDriver: https://www.w3.org/TR/webdriver/
81141
.. _robotframework-users: http://groups.google.com/group/robotframework-users
82142
.. _Robot Framework Slack: https://robotframework-slack-invite.herokuapp.com/
83143
.. _documentation is also available: http://robotframework.org/SeleniumLibrary/Selenium2Library.html

0 commit comments

Comments
 (0)