Skip to content

Commit 92c804a

Browse files
committed
Doc tuning based on comments. Consistency FTW!
1 parent 34038d5 commit 92c804a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/SeleniumLibrary/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ class SeleniumLibrary(DynamicCore):
185185
Selenium's WebElement objects. This requires first getting a WebElement,
186186
for example, by using the `Get WebElement` keyword.
187187
188-
| ${elem} = | `Get WebElement` | id=example |
188+
| ${elem} = | `Get WebElement` | id:example |
189189
| `Click Element` | ${elem} | |
190190
191191
== Custom locators ==

src/SeleniumLibrary/keywords/element.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
class ElementKeywords(LibraryComponent):
2626

27-
@keyword
27+
@keyword(name='Get WebElement')
2828
def get_webelement(self, locator):
2929
"""Returns the first WebElement matching the given ``locator``.
3030
@@ -33,7 +33,7 @@ def get_webelement(self, locator):
3333
"""
3434
return self.find_element(locator)
3535

36-
@keyword
36+
@keyword(name='Get WebElements')
3737
def get_webelements(self, locator):
3838
"""Returns list of WebElement objects matching the ``locator``.
3939

0 commit comments

Comments
 (0)