@@ -13,9 +13,9 @@ class PageObjectLibrary(PageObjectLibraryKeywords):
13
13
14
14
*PageObjectLibrary* is a lightweight library which supports using
15
15
the page object pattern with
16
- [http://robotframework.org/Selenium2Library /doc/Selenium2Library .html|Selenium2Library ].
17
- This library does not replace Selenium2Library ; rather, it
18
- provides a framework around which to use Selenium2Library and the
16
+ [http://robotframework.org/SeleniumLibrary /doc/SeleniumLibrary .html|SeleniumLibrary ].
17
+ This library does not replace SeleniumLibrary ; rather, it
18
+ provides a framework around which to use SeleniumLibrary and the
19
19
lower-level [http://selenium-python.readthedocs.org/|Python
20
20
bindings to Selenium]
21
21
@@ -32,16 +32,16 @@ class your keywords have access to the following pre-defined
32
32
attributes and methods:
33
33
34
34
| =Attribute/method= | =Description= |
35
- | ``self.se2lib`` | A reference to the Selenium2Library instance |
35
+ | ``self.se2lib`` | A reference to the SeleniumLibrary instance |
36
36
| ``self.browser`` | A reference to the currently open browser |
37
37
| ``self.locator`` | A wrapper around the ``_locators`` dictionary |
38
38
| ``self.logger`` | A reference to the ``robot.api.logger`` instance |
39
39
| ``self._wait_for_page_refresh()`` | a context manager for doing work that causes a page refresh |
40
40
41
- = Using Selenium2Library Keywords =
41
+ = Using SeleniumLibrary Keywords =
42
42
43
43
Within your keywords you have access to the full power of
44
- Selenium2Library . You can use ``self.se2lib`` to access the
44
+ SeleniumLibrary . You can use ``self.se2lib`` to access the
45
45
library keywords. The following example shows how to call the
46
46
``Capture Page Screenshot`` keyword:
47
47
@@ -128,7 +128,7 @@ class your keywords have access to the following pre-defined
128
128
Robot can import it, just like with any other keyword
129
129
library. When you use the keyword `Go to page`, the keyword will
130
130
automatically load the keyword library and put it at the front of
131
- the Robot Framework library search order (see
131
+ the Robot Framework library search order (see
132
132
[http://robotframework.org/robotframework/latest/libraries/BuiltIn.html#Set%20Library%20Search%20Order|Set Library Search Order])
133
133
134
134
In the following example it is assumed there is a second page
@@ -137,7 +137,7 @@ class your keywords have access to the following pre-defined
137
137
138
138
| ``*** Settings ***``
139
139
| Library PageObjectLibrary
140
- | Library Selenium2Library
140
+ | Library SeleniumLibrary
141
141
| Suite Setup Open browser http://www.example.com
142
142
| Suite Teardown Close all browsers
143
143
|
0 commit comments