> For the complete documentation index, see [llms.txt](https://docs.puppetry.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.puppetry.app/master/target.md).

# Target

Targets are basically identifiers associated with locators (CSS selector or XPath) that we can refer in the tests

## Adding Target with CSS Selector

![Target with CSS selector](/files/-LhtZ_WxJTMas-5pOQi3)

{% hint style="info" %}
When you change name of an existing target, the new name will be reflected in all the test cases referring to it
{% endhint %}

## Adding Target with XPath

![Target with XPath](/files/-LhtZdqpJJ8Xu8CeMOPq)

## Editing Targets as CSV

You can edit targets as CSV. After clicking on **Edit as CSV** button you get a modal window where existing targets presented as lines of target/locator pairs separated with comma.

![Editing Targets as CSV](/files/-Lht_XghfbsQghZQirPo)
