from browser_use_sdk.v3 import AsyncBrowserUse
from pydantic import BaseModel
class Contact(BaseModel):
name: str
title: str
company: str
client = AsyncBrowserUse()
result = await client.run(
"Find the founding team of Browser Use on LinkedIn",
output_schema=Contact,
)
print(result.output)
import { BrowserUse } from "browser-use-sdk/v3";
import { z } from "zod";
const Contact = z.object({
name: z.string(),
title: z.string(),
company: z.string(),
});
const client = new BrowserUse();
const result = await client.run(
"Find the founding team of Browser Use on LinkedIn",
{ schema: Contact },
);
console.log(result.output);