RPABrowser
Click with XPath
Click with XPath
Clicks an element on a web page using an XPath locator — an alternative to the CSS selector for more complicated page structures.
Tip
For most cases, prefer Click with a CSS selector: it is simpler and faster. Reach for this one only when a CSS selector cannot identify the element you want.
Options
Browser or page ID
The browser, tab or iframe opening action where the click happens.
Element's Xpath
The XPath expression identifying the element to click, //button[@id='btnSubmit'] for example.
Returns
This action has no returns.
Rules and conditions
- Browser or page ID and Element's Xpath are both required.
- The XPath has to be a valid expression that uniquely identifies the element you want. If more than one element matches it, the action ends in an error.
- If no element is found within the timeout, the action ends in an error.