@@ -205,9 +205,9 @@ The SDK provides access to raw response data, including headers, through the `.w
205
205
The ` .with_raw_response ` property returns a "raw" client that can be used to access the ` .headers ` and ` .data ` attributes.
206
206
207
207
``` python
208
- from browser_use import BrowserUse
208
+ from browser_use import BrowserUseClient
209
209
210
- client = BrowserUse (
210
+ client = BrowserUseClient (
211
211
... ,
212
212
)
213
213
response = client.tasks.with_raw_response.create_task(... )
@@ -241,9 +241,9 @@ The SDK defaults to a 60 second timeout. You can configure this with a timeout o
241
241
242
242
``` python
243
243
244
- from browser_use import BrowserUse
244
+ from browser_use import BrowserUseClient
245
245
246
- client = BrowserUse (
246
+ client = BrowserUseClient (
247
247
... ,
248
248
timeout = 20.0 ,
249
249
)
@@ -262,9 +262,9 @@ and transports.
262
262
263
263
``` python
264
264
import httpx
265
- from browser_use import BrowserUse
265
+ from browser_use import BrowserUseClient
266
266
267
- client = BrowserUse (
267
+ client = BrowserUseClient (
268
268
... ,
269
269
httpx_client = httpx.Client(
270
270
proxies = " http://my.test.proxy.example.com" ,
@@ -483,9 +483,9 @@ A full reference for this library is available [here](https://github.com/browser
483
483
Instantiate and use the client with the following:
484
484
485
485
``` python
486
- from browser_use import BrowserUse
486
+ from browser_use import BrowserUseClient
487
487
488
- client = BrowserUse (
488
+ client = BrowserUseClient (
489
489
api_key = " YOUR_API_KEY" ,
490
490
)
491
491
client.tasks.create_task(
@@ -500,9 +500,9 @@ The SDK also exports an `async` client so that you can make non-blocking calls t
500
500
``` python
501
501
import asyncio
502
502
503
- from browser_use import AsyncBrowserUse
503
+ from browser_use import AsyncBrowserUseClient
504
504
505
- client = AsyncBrowserUse (
505
+ client = AsyncBrowserUseClient (
506
506
api_key = " YOUR_API_KEY" ,
507
507
)
508
508
0 commit comments