Skip to content

Commit 1f05b20

Browse files
committed
docs: address review comments on Browser Use guide
1 parent 0287ec7 commit 1f05b20

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

docs/03_guides/09_browser_use.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ In this guide, you'll learn how to use the [Browser Use](https://browser-use.com
1616

1717
Browser Use is a great fit for Apify Actors:
1818

19-
- Describe what you want in plain English; the agent figures out the steps. This is well suited to pages whose structure changes often or is hard to target with fixed selectors.
20-
- Browser Use ships wrappers for many providers (`ChatOpenAI`, `ChatAnthropic`, `ChatGoogle`, and more), so you can pick the model that fits your task and budget.
21-
- Pass a [Pydantic](https://docs.pydantic.dev/) model as the output schema and the agent returns a validated object instead of free-form text, which maps cleanly onto an Apify dataset.
19+
- Describe what you want in plain English and the agent figures out the steps. This is especially useful with pages whose structure changes often or is hard to target with fixed selectors.
20+
- Browser Use ships wrappers for many providers, for example `ChatOpenAI`, `ChatAnthropic`, or `ChatGoogle`. You can pick the model that fits your task and budget.
21+
- Pass a [Pydantic](https://docs.pydantic.dev/) model as the output schema and the agent returns a validated object that maps onto an Apify dataset.
2222
- The agent drives a real Chromium over the Chrome DevTools Protocol, so JavaScript-heavy pages render just like they would for a human.
2323
- The agent's `run` method is asynchronous, which integrates naturally with the asyncio-based Apify SDK.
2424

25-
Browser Use needs only the `browser-use` package. Install it with:
25+
Browser Use needs only the `browser-use` package. To install it, use:
2626

2727
```bash
2828
pip install browser-use
@@ -42,7 +42,7 @@ Keep the API key out of the Actor input and source code. The example reads it fr
4242

4343
## Example Actor
4444

45-
The following Actor runs a Browser Use agent for a single task and stores its structured result in the default dataset. By default it opens [Hacker News](https://news.ycombinator.com) and returns the title and URL of the top five posts, but the task, model, and step limit are all configurable through the Actor input.
45+
The following Actor runs a Browser Use agent for a single task and stores its structured result in the default dataset. By default, it opens [Hacker News](https://news.ycombinator.com) and returns the title and URL of the top five posts, but the task, model, and step limit are all configurable through the Actor input.
4646

4747
The whole Actor fits in a single file. A `run_agent_task` helper holds the Browser Use-specific logic: it defines the output schema and builds the LLM, browser, and agent. The `main` coroutine handles the [Actor](https://docs.apify.com/platform/actors) lifecycle, reads the input, sets up [Apify Proxy](https://docs.apify.com/platform/proxy), runs the agent, and stores the result:
4848

@@ -69,7 +69,7 @@ Browser Use expects the proxy as a `ProxySettings` object with separate `server`
6969

7070
Browser Use drives a real Chromium over CDP, so the Actor needs a browser binary available at runtime. The simplest way to provide one is to build on top of the [Apify Playwright base image](https://hub.docker.com/r/apify/actor-python-playwright), which already ships a browser together with all of its system-level dependencies. Browser Use discovers that browser automatically, so no extra install step is needed in the image.
7171

72-
Disable Browser Use's telemetry and cloud sync inside the Actor by setting the `ANONYMIZED_TELEMETRY=false` and `BROWSER_USE_CLOUD_SYNC=false` environment variables in your Dockerfile.
72+
To disable Browser Use's telemetry and cloud sync inside the Actor, set the `ANONYMIZED_TELEMETRY=false` and `BROWSER_USE_CLOUD_SYNC=false` environment variables in your Dockerfile.
7373

7474
When running the Actor locally, install the browser once with the `browser-use install` command, which downloads a Chromium build together with its dependencies:
7575

0 commit comments

Comments
 (0)