# Interaction command group

### <mark style="background-color:orange;">**Click element**</mark>

Use this command to make your profile **clicks on a specific selector.** You need to paste the selector you want to click on. You can use either a CSS Selector or an Xpath to obtain the selector.

<figure><img src="/files/v7fYTNdM7KDBEaD5HGYR" alt=""><figcaption></figcaption></figure>

***To get the selector, follow these steps:***

* **Step 1:** Access the website where you want to get the selector and right-click, then select "Inspect."&#x20;

<figure><img src="/files/yIFVHcKgLr51micH4fZz" alt=""><figcaption></figcaption></figure>

* **Step 2:** Choose the element you want to click on.
* **Step 3:** Copy the selector or Xpath (depending on your selector preference).

<figure><img src="/files/9A3dLc8ekKyh2L0i14wY" alt=""><figcaption></figcaption></figure>

Additionally, you can customize some parameters:

* **Click rate:** The success rate of clicking on the selector.
* **Random click:** Randomly click on the selector.
* **Wait navigation:** Wait for the webpage to finish loading.

### <mark style="background-color:orange;">**Type**</mark>

Simulate the behavior of typing text into the selector you choose. You need to **paste the selector** you want to **enter the text in** and enter the text you want. Typing speed will be **randomized between 100ms and 300ms.**

<figure><img src="/files/19c0BZ3hoSI9rPZrQIOa" alt=""><figcaption></figcaption></figure>

You can input text in the following ways:

* Type: Manually input text.&#x20;
* Choose from file: Only upload .txt files. You can choose to select text randomly by lines  or from top to bottom *(Top-down).*

<figure><img src="/files/DPgaigbVPYmSs3lXOJQz" alt=""><figcaption><p>Choose from file</p></figcaption></figure>

<figure><img src="/files/w1owfPEqMjztqO4XWVWJ" alt=""><figcaption><p>Random Google, Amazon, Etsy, eBay keywords</p></figcaption></figure>

You can also choose to:

* *Random Google keywords:* Input random Google keywords from the server.&#x20;
* *Random Amazon keywords:* Input random keywords from the Amazon website.
* *Random Etsy keywords:* Input random keywords from the Etsy website.&#x20;
* *Random eBay keywords*: Input random keywords from the eBay website.&#x20;
* **Random line of text:** Randomly select text by lines.

### <mark style="background-color:orange;">**SwipeUp**</mark>

**Scroll up** the web page in **vertical** with a specified number of pixels. You can randomize the pixel value and the number of scrolls or choose fixed parameters:

* 500 pixels
* Number scroll: 1 (scroll 500 pixels once)
* Break Time (s): 1 (number of seconds to pause between each scroll).

<figure><img src="/files/YYZSll8HlTzMXXGRvSSs" alt=""><figcaption><p>Randomize the parameters</p></figcaption></figure>

<figure><img src="/files/2zOPefuNA6wgEbZJuJH8" alt=""><figcaption><p>Fixed parameters</p></figcaption></figure>

### <mark style="background-color:orange;">**SwipeDown**</mark>

**Scroll down** the web page in **vertical** with a specified number of pixels.&#x20;

You can randomize the pixel value and the number of scrolls or choose fixed parameters:

* 500 pixels
* Number scroll: 1 (scroll 500 pixels once)
* Break Time (s): 1 (number of seconds to pause between each scroll).

<figure><img src="/files/gWgLPGJOyOohUrQcwR9L" alt=""><figcaption><p>Randomize the parameters</p></figcaption></figure>

<figure><img src="/files/AMJ9MUgomhEh6gJFmIuf" alt=""><figcaption><p>Fixed parameters</p></figcaption></figure>

### <mark style="background-color:orange;">**JavaScript code**</mark>

You can either upload a JavaScript file or write your own code.

* Run in page: Execute commands that can be used in the webpage's DevTools.

<figure><img src="/files/X9bA8bl0dsUQhllOAFWS" alt=""><figcaption></figcaption></figure>

### <mark style="background-color:orange;">**Keypress**</mark>

Simulate keyboard keypress actions. Supported keys include: Enter, Shift, Control, Alt, Meta, PageUp, PageDown, ArrowLeft, ArrowUp, Escape, Delete, Home, End, Space, CapsLock. You can also add your desired keys.

<figure><img src="/files/Zi9OtBt5mDnmp8ZK65wq" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.hidemyacc.com/hidemyacc-3.0-features/automation-feature/create-automation-scripts/interaction-command-group.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
