Skip to content

Commit 8ef4b25

Browse files
committed
Updated expected results on plugin documentation (with xpath example changes)
1 parent 423ebb8 commit 8ef4b25

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

utest/test/api/approved_files/PluginDocumentation.test_many_plugins.approved.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -148,14 +148,14 @@ and not for the element found be the previous locator. Chaining is supported by
148148
are based on Selenium API, like `xpath` or `css`, but example chaining is not supported by `sizzle` or `jquery
149149

150150
Examples:
151-
| `Click Element` | css:.bar >> xpath://a | # To find a link which is present after an element with class "bar" |
151+
| `Click Element` | css:.bar >> xpath: //a | # To find a link which is present after an element with class "bar" |
152152

153153
List examples:
154-
| ${locator_list} = | `Create List` | css:div#div_id | xpath://*[text(), " >> "] |
155-
| `Page Should Contain Element` | ${locator_list} | | |
156-
| ${element} = | Get WebElement | xpath://*[text(), " >> "] | |
157-
| ${locator_list} = | `Create List` | css:div#div_id | ${element} |
158-
| `Page Should Contain Element` | ${locator_list} | | |
154+
| ${locator_list} = | `Create List` | css:div#div_id | xpath: //*[text(), " >> "] |
155+
| `Page Should Contain Element` | ${locator_list} | | |
156+
| ${element} = | Get WebElement | xpath: //*[text(), " >> "] | |
157+
| ${locator_list} = | `Create List` | css:div#div_id | ${element } |
158+
| `Page Should Contain Element` | ${locator_list} | | |
159159

160160
Chaining locators in new in SeleniumLibrary 5.0
161161

0 commit comments

Comments
 (0)