Skip to content

Commit 58df556

Browse files
authored
Merge pull request browser-use#746 from RishabhKodes/main
Doc fix: Fixed broken link to extra_chromium_args
2 parents 2d0f95f + 84d670e commit 58df556

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

‎docs/customize/browser-settings.mdx‎

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -28,21 +28,21 @@ config = BrowserConfig(
2828

2929
## Core Settings
3030

31-
-**headless** (default: `False`)
31+
-**headless** (default: `False`)
3232
Runs the browser without a visible UI. Note that some websites may detect headless mode.
3333

34-
-**disable_security** (default: `True`)
34+
-**disable_security** (default: `True`)
3535
Disables browser security features. While this can fix certain functionality issues (like cross-site iFrames), it should be used cautiously, especially when visiting untrusted websites.
3636

3737
### Additional Settings
3838

39-
-**extra_chromium_args** (default: `[]`)
40-
Additional arguments passed to the browser at launch. See the [full list of available arguments](https://github.com/browser-use/browser-use/blob/main/browser_use/browser/browser.py#L154).
39+
-**extra_chromium_args** (default: `[]`)
40+
Additional arguments passed to the browser at launch. See the [full list of available arguments](https://github.com/browser-use/browser-use/blob/main/browser_use/browser/browser.py#L180).
4141

42-
-**proxy** (default: `None`)
42+
-**proxy** (default: `None`)
4343
Standard Playwright proxy settings for using external proxy services.
4444

45-
-**new_context_config** (default: `BrowserContextConfig()`)
45+
-**new_context_config** (default: `BrowserContextConfig()`)
4646
Default settings for new browser contexts. See Context Configuration below.
4747

4848
<Note>
@@ -64,7 +64,7 @@ config = BrowserConfig(
6464
)
6565
```
6666

67-
-**wss_url** (default: `None`)
67+
-**wss_url** (default: `None`)
6868
WebSocket URL for connecting to external browser providers (e.g., anchorbrowser.com, steel.dev, browserbase.com, browserless.io).
6969

7070
<Note>
@@ -82,7 +82,7 @@ config = BrowserConfig(
8282
)
8383
```
8484

85-
-**cdp_url** (default: `None`)
85+
-**cdp_url** (default: `None`)
8686
URL for connecting to a Chrome instance via CDP. Commonly used for debugging or connecting to locally running Chrome instances.
8787

8888
### Local Chrome Instance (binary)
@@ -95,7 +95,7 @@ config = BrowserConfig(
9595
)
9696
```
9797

98-
-**chrome_instance_path** (default: `None`)
98+
-**chrome_instance_path** (default: `None`)
9999
Path to connect to an existing Chrome installation. Particularly useful for workflows requiring existing login states or browser preferences.
100100

101101
<Note>This will overwrite other browser settings.</Note>
@@ -133,40 +133,40 @@ async def run_search():
133133

134134
### Page Load Settings
135135

136-
-**minimum_wait_page_load_time** (default: `0.5`)
136+
-**minimum_wait_page_load_time** (default: `0.5`)
137137
Minimum time to wait before capturing page state for LLM input.
138138

139-
-**wait_for_network_idle_page_load_time** (default: `1.0`)
139+
-**wait_for_network_idle_page_load_time** (default: `1.0`)
140140
Time to wait for network activity to cease. Increase to 3-5s for slower websites. This tracks essential content loading, not dynamic elements like videos.
141141

142-
-**maximum_wait_page_load_time** (default: `5.0`)
142+
-**maximum_wait_page_load_time** (default: `5.0`)
143143
Maximum time to wait for page load before proceeding.
144144

145145
### Display Settings
146146

147-
-**browser_window_size** (default: `{'width': 1280, 'height': 1100}`)
147+
-**browser_window_size** (default: `{'width': 1280, 'height': 1100}`)
148148
Browser window dimensions. The default size is optimized for general use cases and interaction with common UI elements like cookie banners.
149149

150-
-**locale** (default: `None`)
150+
-**locale** (default: `None`)
151151
Specify user locale, for example en-GB, de-DE, etc. Locale will affect navigator.language value, Accept-Language request header value as well as number and date formatting rules. If not provided, defaults to the system default locale.
152152

153-
-**highlight_elements** (default: `True`)
153+
-**highlight_elements** (default: `True`)
154154
Highlight interactive elements on the screen with colorfull bounding boxes.
155155

156-
-**viewport_expansion** (default: `500`)
156+
-**viewport_expansion** (default: `500`)
157157
Viewport expansion in pixels. With this you can controll how much of the page is included in the context of the LLM. If set to -1, all elements from the entire page will be included (this leads to high token usage). If set to 0, only the elements which are visible in the viewport will be included.
158158
Default is 500 pixels, that means that we inlcude a little bit more than the visible viewport inside the context.
159159

160-
### Restrict URLs
160+
### Restrict URLs
161161

162-
-**allowed_domains** (default: `None`)
163-
List of allowed domains that the agent can access. If None, all domains are allowed.
162+
-**allowed_domains** (default: `None`)
163+
List of allowed domains that the agent can access. If None, all domains are allowed.
164164
Example: ['google.com', 'wikipedia.org'] - Here the agent will only be able to access google and wikipedia.
165165

166166
### Debug and Recording
167167

168-
-**save_recording_path** (default: `None`)
168+
-**save_recording_path** (default: `None`)
169169
Directory path for saving video recordings.
170170

171-
-**trace_path** (default: `None`)
171+
-**trace_path** (default: `None`)
172172
Directory path for saving trace files. Files are automatically named as `{trace_path}/{context_id}.zip`.

0 commit comments

Comments
(0)