You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browserbase is a headless browser platform that offers a remote browser API. You can use it to control thousands of browsers from anywhere.
14
-
You can find more information about Browserbase at https://docs.browserbase.com/ or view our OpenAI CUA Quickstart at https://docs.browserbase.com/integrations/openai-cua/introduction.
15
+
You can find more information about Browserbase at https://www.browserbase.com/computer-use or view our OpenAI CUA Quickstart at https://docs.browserbase.com/integrations/openai-cua/introduction.
16
+
17
+
IMPORTANT: This Browserbase computer requires the use of the `goto` tool defined in playwright_with_custom_functions.py.
18
+
Make sure to include this tool in your configuration when using the Browserbase computer.
15
19
"""
16
20
17
21
def__init__(
@@ -20,6 +24,8 @@ def __init__(
20
24
height: int=768,
21
25
region: str="us-west-2",
22
26
proxy: bool=False,
27
+
virtual_mouse: bool=True,
28
+
ad_blocker: bool=False,
23
29
):
24
30
"""
25
31
Initialize the Browserbase instance. Additional configuration options for features such as persistent cookies, ad blockers, file downloads and more can be found in the Browserbase API documentation: https://docs.browserbase.com/reference/api/create-a-session
@@ -29,6 +35,8 @@ def __init__(
29
35
height (int): The height of the browser viewport. Default is 768.
30
36
region (str): The region for the Browserbase session. Default is "us-west-2". Pick a region close to you for better performance. https://docs.browserbase.com/guides/multi-region
31
37
proxy (bool): Whether to use a proxy for the session. Default is False. Turn on proxies if you're browsing is frequently interrupted. https://docs.browserbase.com/features/proxies
38
+
virtual_mouse (bool): Whether to enable the virtual mouse cursor. Default is True.
39
+
ad_blocker (bool): Whether to enable the built-in ad blocker. Default is False.
0 commit comments