Skip to content

Commit 265761e

Browse files
committed
docs: note browser profile isolation for concurrent agents
1 parent 15ee496 commit 265761e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

docs/03_guides/09_browser_use.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ A few things worth pointing out:
5757
- `enable_signal_handler=False` leaves signal handling to the Actor, which manages the run's lifecycle. Without it, Browser Use would install its own handlers and interfere with a clean shutdown.
5858
- `headless=Actor.configuration.headless` runs the browser without a visible window, which is what you want on the platform.
5959

60+
The example runs one agent per Actor run, so each browser profile stays isolated. If you parallelize tasks within a single Actor, give every agent its own `Browser` instance with its own `user_data_dir`. Several concurrent agents sharing one profile can corrupt it.
61+
6062
## Using Apify Proxy
6163

6264
Running on the Apify platform gives your agent access to [Apify Proxy](https://docs.apify.com/platform/proxy), which rotates IP addresses to avoid rate limiting and blocking. In the example above, `main` creates a proxy configuration with `Actor.create_proxy_configuration` and passes a fresh proxy URL to `run_agent_task`.

0 commit comments

Comments
 (0)