File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -195,13 +195,13 @@ class SeleniumLibrary(DynamicCore):
195195 locators is a two part process. First, create a keyword that returns
196196 a WebElement that should be acted on:
197197
198- | Custom Locator Strategy | [Arguments] | ${browser} | ${strategy } | ${tag} | ${constraints} |
199- | | ${element}= | Execute Javascript | return window.document.getElementById('${criteria }'); |
198+ | Custom Locator Strategy | [Arguments] | ${browser} | ${locator } | ${tag} | ${constraints} |
199+ | | ${element}= | Execute Javascript | return window.document.getElementById('${locator }'); |
200200 | | [Return] | ${element} |
201201
202202 This keyword is a reimplementation of the basic functionality of the
203203 ``id`` locator where ``${browser}`` is a reference to a WebDriver
204- instance and ``${strategy }`` is name of the locator strategy. To use
204+ instance and ``${locator }`` is name of the locator strategy. To use
205205 this locator it must first be registered by using the
206206 `Add Location Strategy` keyword:
207207
You can’t perform that action at this time.
0 commit comments