> For the complete documentation index, see [llms.txt](https://docs.roboteasy.tech/studio-en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.roboteasy.tech/studio-en/studio/objetos/internet/acao-em-elementos.md).

# Action on Elements

Object that allows isolated actions on objects found on the web page.

## Settings&#x20;

{% hint style="info" %}
This object depends on the "**Open Browser**" and "**Search Elements**" objects to work.
{% endhint %}

![](https://1031980850-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MRKcZBCSfHjT8BRPnSe%2F-MTAVYh1YSFjSFFWX08k%2F-MTBGaBfm3Sl9TWzP2Gc%2Fimage.png?alt=media\&token=62a9dd28-0dfd-4f17-823f-e1dbe23731ab)

| Field                 | Descriptive                                                             |
| --------------------- | ----------------------------------------------------------------------- |
| Title                 | Object title                                                            |
| Select Browser Object | Option to select a browser from the object "**Open Browser**"           |
| Select Element Object | Option to select the element found with the "**Search Element**" object |
| Object Index          | Index of the element found (Used when looping through a list)           |
| Click                 | Click action on the found element                                       |
| Type                  | Type action on the found element                                        |
| Password Field        | Action to not display on screen the password entered in the text field  |
| Text                  | Text to be displayed on the screen                                      |
| Shortcut Keys         | Activates shortcut keys on the element                                  |

## Example

To execute an action in a list of elements, you must follow the next steps:&#x20;

1 - Select the object "**Open Browser**' on the "**Internet**" menu and drag it to your working area&#x20;

* First define a unique name for the object in the "**Object Identifier Name**" field, select a browser and enter the website to be accessed in the "Web Page Address" field

![](https://1031980850-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MRKcZBCSfHjT8BRPnSe%2F-MU9okSJdb4n5v8yxzjD%2F-MUAfYsYlLy-5CVlkaXY%2FabrirNavegadorAcao.gif?alt=media\&token=5cb37f36-bbc5-48ce-a045-2cde315c0e35)

As seen above, we will use the w3schools website in this tutorial

* <https://www.w3schools.com/html/html_tables.asp>

![](https://1031980850-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MRKcZBCSfHjT8BRPnSe%2F-MU9okSJdb4n5v8yxzjD%2F-MUAjX27oZhtzHvTjAGt%2Fimage.png?alt=media\&token=f3809d32-9327-412b-9667-0cb8d22a9185)

2 - Next we must search for the xpath of the table using the "**Search Elements**" object from the "**Internet**" menu:

* You should enter the main object, in this case, the browser object. Next we should enter the xpath in the search field and set "**SEARCH A LIST**" and then define the action to be applied. (See how to get the xpath of elements manually, by clicking [HERE](/studio-en/studio/utilitarios/xpath.md))

![](https://1031980850-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MRKcZBCSfHjT8BRPnSe%2F-MUAj_6yQXvJvLnXSxis%2F-MUAsC5hMzXHlj14QEbY%2FbuscarElementoAcao.gif?alt=media\&token=3f0fa5ef-433c-426e-b82f-33ca0c18dc1b)

3 - Lastly, select the "**Action on Elements**" object to perform the desired action. Select the main object, select the object defined in the element search, enter the object index and set the action to be performed.
