File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -208,14 +208,14 @@ class SeleniumLibrary(DynamicCore):
208208 are based on Selenium API, like `xpath` or `css`, but example chaining is not supported by `sizzle` or `jquery
209209
210210 Examples:
211- | `Click Element` | css:.bar >> xpath://a | # To find a link which is present after an element with class "bar" |
211+ | `Click Element` | css:.bar >> xpath: //a | # To find a link which is present after an element with class "bar" |
212212
213213 List examples:
214- | ${locator_list} = | `Create List` | css:div#div_id | xpath://*[text(), " >> "] |
215- | `Page Should Contain Element` | ${locator_list} | | |
216- | ${element} = | Get WebElement | xpath://*[text(), " >> "] | |
217- | ${locator_list} = | `Create List` | css:div#div_id | ${element} |
218- | `Page Should Contain Element` | ${locator_list} | | |
214+ | ${locator_list} = | `Create List` | css:div#div_id | xpath: //*[text(), " >> "] |
215+ | `Page Should Contain Element` | ${locator_list} | | |
216+ | ${element} = | Get WebElement | xpath: //*[text(), " >> "] | |
217+ | ${locator_list} = | `Create List` | css:div#div_id | ${element } |
218+ | `Page Should Contain Element` | ${locator_list} | | |
219219
220220 Chaining locators in new in SeleniumLibrary 5.0
221221
You can’t perform that action at this time.
0 commit comments