> For the complete documentation index, see [llms.txt](https://docs.zerowork.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zerowork.io/using-zerowork/using-selectors/what-are-selectors.md).

# 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.

**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](/using-zerowork/using-selectors/how-to-use-xpath-in-zerowork.md).

Here is an overview of how to copy selectors:

* [Copy Selectors](/using-zerowork/using-selectors/copy-selectors.md)
* [Use Element's Text](/using-zerowork/using-selectors/use-elements-text.md)
* [How to Build Custom Selectors](/using-zerowork/using-selectors/how-to-build-custom-selectors.md)

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 with time you will need to advance your skills by learning how to build your own selectors in order to build truly robust TaskBots.

### Selectors: Introduction and Overview

{% embed url="<https://youtu.be/xRiai6UL7fQ?si=UJb-nB4Fjs_zhv_c>" %}
