New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@browserbasehq/stagehand

Package Overview
Dependencies
Maintainers
3
Versions
142
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@browserbasehq/stagehand - npm Package Compare versions

Comparing version 1.10.0 to 1.10.1-alpha-a2878d0acaf393b37763fb0c07b1a24043f7eb8d

5

lib/handlers/observeHandler.ts

@@ -92,5 +92,4 @@ import { LogLine } from "../../types/log";

const evalResult = await this.stagehand.page.evaluate(async () => {
const result = await window.processAllOfDom();
return result;
const evalResult = await this.stagehand.page.evaluate(() => {
return window.processAllOfDom().then((result) => result);
});

@@ -97,0 +96,0 @@

2

package.json
{
"name": "@browserbasehq/stagehand",
"version": "1.10.0",
"version": "1.10.1-alpha-a2878d0acaf393b37763fb0c07b1a24043f7eb8d",
"description": "An AI web browsing framework focused on simplicity and extensibility.",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

@@ -52,5 +52,8 @@ <div id="toc" align="center">

// Stagehand AI: Act on the page
await page.act("click on the 'Quickstart'");
// Stagehand AI: Extract data from the page
const { description } = await page.extract({
instruction: "Extract the description of the page",
instruction: "extract the description of the page",
schema: z.object({

@@ -60,5 +63,2 @@ description: z.string(),

});
// Stagehand AI: Act on the page
await page.act({ action: "click on the 'Quickstart'" });
```

@@ -65,0 +65,0 @@

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc