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

# Creating Elements

Elements in DoesQA allow you to manage and reuse selectors for interacting with and locating elements on the web page during test execution. Creating and maintaining elements centrally makes your tests more maintainable and robust.

### Creating Elements

There are two ways to create elements in DoesQA:

1. **Left-Hand Menu**: Navigate to the Elements section in the left-hand menu and click the "New" button to create a new element.
2. **Node Edit Modal**: While editing a node in a test, click the "+" button to create a new element on-the-fly.

### Different Selector Types

{% content-ref url="/pages/SYczKhdsyBrSmxF0RsXp" %}
[CSS](/elements/selector-types/css.md)
{% endcontent-ref %}

{% content-ref url="/pages/0tPtG9Fnlg5eX8rsaV9h" %}
[XPath](/elements/selector-types/xpath.md)
{% endcontent-ref %}

{% content-ref url="/pages/iKZexOOZ8da03iKFlLNm" %}
[Visible Text](/elements/selector-types/visible-text.md)
{% endcontent-ref %}

{% content-ref url="/pages/mOHhp92CL8YBejOx1HgH" %}
[Test ID](/elements/selector-types/test-id.md)
{% endcontent-ref %}

When creating an element, select the appropriate type and provide a valid expression or value based on the selected type. This will ensure that DoesQA can effectively locate and interact with the element during test execution. Need some help defining locators? Book a session with our QA experts and we can assist.
