What Are Selectors
Selectors are expressions used to identify elements on a webpage. Whenever your TaskBot needs to interact with an element — for example, to click a button or save some text — it uses a selector to find that element.
Here is an overview of how to copy selectors:
Which way is the best? In the beginning, it may be enough to use the first two methods. These may also be enough if you automate websites other than social media. If you automate social media, then you will likely need to advance your skills by learning how to build custom selectors in order to build robust TaskBots.
Note: While ZeroWork supports both CSS and XPath selectors, this guide focuses on CSS selectors only, as they are more beginner- and intermediate-friendly. If you want to use XPath instead, see: How to Use XPath in ZeroWork.
Selectors: Introduction and Overview
Last updated