docs: Major revamp to Developers and SDK Reference Tabs, Added Documentation for Page/Agent/Browser Methods (#5571)

This commit is contained in:
Kunal Mishra 2026-04-24 00:27:04 +05:30 committed by GitHub
parent 6ff9350619
commit e376b8a7e9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
161 changed files with 9401 additions and 13566 deletions

View file

@ -0,0 +1,29 @@
---
title: use_cloud_browser
slug: sdk-reference/browser-automation/use-cloud-browser
---
Get or create a cloud browser session. Reuses the most recent available session if one exists, otherwise creates a new one.
<CodeGroup>
```python Python
browser = await skyvern.use_cloud_browser()
page = await browser.get_working_page()
```
```typescript TypeScript
const browser = await skyvern.useCloudBrowser();
const page = await browser.getWorkingPage();
```
</CodeGroup>
## Parameters
Same parameters as `launch_cloud_browser` / `launchCloudBrowser`. Options are only used when creating a new session.
| Parameter (Python) | Parameter (TS) | Type | Required | Default | Description |
|-------------------|----------------|------|----------|---------|-------------|
| `timeout` | `timeout` | `int` / `number` | No | `60` | Session timeout in minutes (5--1440). |
| `proxy_location` | `proxyLocation` | `ProxyLocation` | No | `None` / `undefined` | Geographic proxy location for browser traffic. |
## Returns `SkyvernBrowser`