How to Use XPath in ZeroWork (advanced)

As mentioned previously, ZeroWork supports both CSS and XPath selectors. In this documentation, we are mostly focusing on CSS selectors only, as they are more beginner- and intermediate-friendly. We expect more advanced users to be already familiar with how to use XPath.

TaskBots will automatically recognize an XPath selector, when it starts with double slash //. Example below.

Additionally, you can also explicitly state xpath like so: xpath=//button.

Last updated