Skip to content

Commit d3427e9

Browse files
committed
Document partial link strategy
1 parent 6702713 commit d3427e9

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.project
22
.pydevproject
3+
.idea
34
test/results
45
*.pyc
56
*.orig

CHANGES.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,14 @@ Release Notes
1010
did not complete.
1111
[Mika Batsman][elizaleong][emanlove]
1212

13-
- Added support for negative indicies for rows and columns in table-related
13+
- Added support for negative indices for rows and columns in table-related
1414
keywords.
1515
[eweitz]
1616

17+
- Added strategy for locating elements by partial link text with locator
18+
prefix 'partial link'.
19+
[lina1]
20+
1721
1.5
1822
---
1923
- Copy Desired Capabilities before modifying to prevent affecting future

src/Selenium2Library/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ class Selenium2Library(
5555
| xpath | Click Element `|` xpath=//div[@id='my_element'] | Matches with arbitrary XPath expression |
5656
| dom | Click Element `|` dom=document.images[56] | Matches with arbitrary DOM express |
5757
| link | Click Element `|` link=My Link | Matches anchor elements by their link text |
58+
| partial link | Click Element `|` partial link=y Lin | Matches anchor elements by their partial link text |
5859
| css | Click Element `|` css=div.my_class | Matches by CSS selector |
5960
| jquery | Click Element `|` jquery=div.my_class | Matches by jQuery/sizzle selector |
6061
| sizzle | Click Element `|` sizzle=div.my_class | Matches by jQuery/sizzle selector |

0 commit comments

Comments
 (0)