Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

Add Cloud Example Cards, Fix Node Examples

Matic Zavadlal1f1051f53422
diff --git a/docs/cloud/v2/node-quickstart.mdx b/docs/cloud/v2/node-quickstart.mdx
index 7d67e3aa1..267e58197 100644
--- a/docs/cloud/v2/node-quickstart.mdx
+++ b/docs/cloud/v2/node-quickstart.mdx
@@ -62,6 +62,7 @@ const TaskOutput = z.object({
const result = await client.tasks.run({
task: "Search for the top 10 Hacker News posts and return the title and url.",
+ schema: TaskOutput,
});
for (const post of result.parsedOutput.posts) {
@@ -85,6 +86,7 @@ const stream = browseruse.tasks.stream({
for await (const msg of stream) {
switch (msg.status) {
case "started":
+ console.log(`started: ${msg.})
case "paused":
case "stopped":
console.log(`running: ${msg}`);
diff --git a/docs/cloud/v2/quickstart.mdx b/docs/cloud/v2/quickstart.mdx
index 74a990ff2..c0b0df6a3 100644
--- a/docs/cloud/v2/quickstart.mdx
+++ b/docs/cloud/v2/quickstart.mdx
@@ -46,3 +46,33 @@ icon: "cloud"
{/* <br /> */}
> To play around with the API, you can use the [Browser Use Cloud Playground](https://cloud.browser-use.com/playground).
+
+## Examples
+
+Explore quick start examples to see how to use the SDKs.
+
+<CardGroup cols={2}>
+ <Card
+ title="Python Examples"
+ icon="python"
+ href="https://github.com/browser-use/browser-use-examples/tree/main/python"
+ >
+ Explore quick start examples for Python.
+ </Card>
+
+<Card
+ title="Typescript Examples"
+ icon="js"
+ href="https://github.com/browser-use/browser-use-examples/tree/main/typescript"
+>
+ Explore quick start examples for Typescript.
+</Card>
+
+ <Card
+ title="NextJS Examples"
+ icon={<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" class="remixicon text-basis h-8 w-8 text-primary"><path d="M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM15.9999 8H14.6499V12H15.9999V8ZM9.34609 9.70937L15.405 17.5379L16.4591 16.7293L9.68281 8H8V15.9969H9.34609V9.70937Z"></path></svg>}
+ href="https://github.com/browser-use/browser-use-examples/tree/main/typescript/scrapper"
+ >
+ Explore quick start examples for NextJS.
+ </Card>
+</CardGroup>