@@ -205,9 +205,9 @@ The SDK provides access to raw response data, including headers, through the `.w
205205The ` .with_raw_response ` property returns a "raw" client that can be used to access the ` .headers ` and ` .data ` attributes.
206206
207207``` python
208- from browser_use import BrowserUse
208+ from browser_use import BrowserUseClient
209209
210- client = BrowserUse (
210+ client = BrowserUseClient (
211211 ... ,
212212)
213213response = 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
241241
242242``` python
243243
244- from browser_use import BrowserUse
244+ from browser_use import BrowserUseClient
245245
246- client = BrowserUse (
246+ client = BrowserUseClient (
247247 ... ,
248248 timeout = 20.0 ,
249249)
@@ -262,9 +262,9 @@ and transports.
262262
263263``` python
264264import httpx
265- from browser_use import BrowserUse
265+ from browser_use import BrowserUseClient
266266
267- client = BrowserUse (
267+ client = BrowserUseClient (
268268 ... ,
269269 httpx_client = httpx.Client(
270270 proxies = " http://my.test.proxy.example.com" ,
@@ -483,9 +483,9 @@ A full reference for this library is available [here](https://github.com/browser
483483Instantiate and use the client with the following:
484484
485485``` python
486- from browser_use import BrowserUse
486+ from browser_use import BrowserUseClient
487487
488- client = BrowserUse (
488+ client = BrowserUseClient (
489489 api_key = " YOUR_API_KEY" ,
490490)
491491client.tasks.create_task(
@@ -500,9 +500,9 @@ The SDK also exports an `async` client so that you can make non-blocking calls t
500500``` python
501501import asyncio
502502
503- from browser_use import AsyncBrowserUse
503+ from browser_use import AsyncBrowserUseClient
504504
505- client = AsyncBrowserUse (
505+ client = AsyncBrowserUseClient (
506506 api_key = " YOUR_API_KEY" ,
507507)
508508
0 commit comments