web » assertAndClick(locator,label)
Description
- This command asserts that the element exist with the specified labeland if so, proceed to perform click event on the element.
Parameters
- locator - this parameter is the xpath of the element.
- label - this parameter is the name of the element.
Example
Script:

Output:
