> For the complete documentation index, see [llms.txt](https://docs.gpmautomate.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gpmautomate.com/automate-en/general-introduction/guide-setup-configuration-to-run-script/4-session-configuration-session-settings.md).

# 4. Session Configuration

This section is used to set up how the script operates, handles flows, and deals with error situations during batch runs. The specific parameters are as follows:

* 🔢 Number of Threads: Enter the number of browser profiles you want the software to launch and run simultaneously (for example, in the image, there are `10` threads). Depending on the strength of your machine's configuration, you can adjust this number accordingly.
* ⏱️ Thread delay (s): The time interval (in seconds) between opening this thread and the next one. It is advisable to set it around 3-5 seconds to avoid the computer launching too many browsers at once, causing lag.
* 🛡️ Skip proxy check before opening profile: Check this option if you want to skip the network connection check of the Proxy before opening the GPM Login profile (the system does not recommend this option because if the Proxy fails, the browser will still open but without a network).
* ❌ Do not close profile on error: When the tool encounters an error at any step, the browser will maintain that error state and will not automatically close. This feature is very convenient for checking and debugging to see where the script is stuck.
* 🧠 Performance limit at 90%: Limit the software's performance to a maximum of 90%. Enabling this helps prevent the computer from overloading the CPU/RAM when running multiple threads continuously.
* 👁️ Hide window when done and active when process resumes: Automatically hide the browser window after the task is completed and show it again when the process continues running.
* 🖱️ Use virtual mouse: Check this option to use the system's virtual mouse (as shown in the image). This helps simulate mouse movements and clicks more smoothly and realistically, minimizing the chances of being detected as a bot by websites.
* 🔄 Restart on error. Number of tries: If checked, when the tool encounters an error during execution, the system will automatically close that profile and restart it from the beginning. You can enter the maximum number of retries in the box next to it.

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.gpmautomate.com/automate-en/general-introduction/guide-setup-configuration-to-run-script/4-session-configuration-session-settings.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
