For the complete documentation index, see llms.txt. This page is also available as Markdown.

How to Use XPath in ZeroWork

ZeroWork supports both CSS and XPath selectors.

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.

To iterate over a list of incrementing XPath selectors, use the same syntax with loop_index, as explained here: How to Use Loop Index Syntax to Save Lists of Public Data. Example below.

Last updated