# Browser Sessions

Create and manage browser sessions with a defined lease time. Each session runs independently and automatically terminates when the lease expires, ensuring a stable and isolated environment for automation tasks.

### VncMode

The **vncMode** determines the type of interaction available with the browser during the session. There are two possible values:

* **`ro`** (Read-Only): Provides view-only access to the browser session. Users can observe the session but cannot interact with the page.
* **`rw`** (Read-Write): Allows full interaction with the browser, enabling both viewing and control, such as clicking and typing.

### Driver

The **driver** specifies the method used to connect to the browser session. You can choose between two options:

* **`api`**: Connects to the browser using the controller API endpoints.
* **`puppeteer`**: Connects to the browser using Puppeteer.

### Running with Fingerprint

When a fingerprint is provided, session data, such as cookies, browsing history, and proxy IP, will be preserved, allowing users to return to the same configuration and settings. Customizing aspects like screen resolution, device settings, and proxy preferences ensures that the session behavior remains consistent over time.

{% content-ref url="/pages/QyontvOxZpoUS3Avfn4O" %}
[User Fingerprints](/features/user-fingerprints.md)
{% endcontent-ref %}


---

# 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://dev-docs.tasknet.co/features/browser-sessions.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.
