All Downloads are FREE. Search and download functionalities are using the official Maven repository.

desc.AssignIdToElement.txt Maven / Gradle / Ivy

There is a newer version: 1.9
Show newest version
Assigns a temporary identifier to element specified by locator.

This is mainly useful if the locator is complicated/slow XPath expression. Identifier expires when the page is reloaded.

Example:
| Assign ID to Element        | xpath=//div[@id="first_div"] | my id |
| Page Should Contain Element | my id | |




© 2015 - 2024 Weber Informatics LLC | Privacy Policy