Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@browserbasehq/stagehand

Package Overview
Dependencies
Maintainers
0
Versions
25
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.3.1-canary.0921e645.0 to 1.4.0-alpha-598cae230c7b8d4e31ae22fd63047a91b63e51b8

3

dist/index.d.ts

@@ -159,2 +159,3 @@ import { Page, BrowserContext, Browser } from '@playwright/test';

sessionUrl?: string;
contextPath?: string;
}

@@ -187,2 +188,3 @@

private browserbaseResumeSessionID?;
private contextPath?;
private actHandler?;

@@ -205,4 +207,5 @@ private extractHandler?;

observe(options?: ObserveOptions): Promise<ObserveResult[]>;
close(): Promise<void>;
}
export { type ActOptions, type ActResult, type AvailableModel, type BrowserResult, type ClientOptions, type ConstructorParams, type ExtractOptions, type ExtractResult, type InitFromPageOptions, type InitFromPageResult, type InitOptions, type InitResult, type LogLine, type ModelProvider, type ObserveOptions, type ObserveResult, PlaywrightCommandException, PlaywrightCommandMethodNotSupportedException, Stagehand, type ToolCall };

@@ -23,2 +23,3 @@ import { type BrowserContext, type Page } from "@playwright/test";

private browserbaseResumeSessionID?;
private contextPath?;
private actHandler?;

@@ -41,2 +42,3 @@ private extractHandler?;

observe(options?: ObserveOptions): Promise<ObserveResult[]>;
close(): Promise<void>;
}

@@ -43,0 +45,0 @@ export * from "../types/browser";

@@ -7,2 +7,3 @@ import { Browser, BrowserContext } from "@playwright/test";

sessionUrl?: string;
contextPath?: string;
}

2

package.json
{
"name": "@browserbasehq/stagehand",
"version": "1.3.1-canary.0921e645.0",
"version": "1.4.0-alpha-598cae230c7b8d4e31ae22fd63047a91b63e51b8",
"description": "An AI web browsing framework focused on simplicity and extensibility.",

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

@@ -121,2 +121,3 @@ <div id="toc" align="center">

});
await stagehand.close();
console.log(`Our favorite contributor is ${contributor.username}`);

@@ -301,2 +302,11 @@ ```

#### `close()`
`close()` is a cleanup method to remove the temporary files created by Stagehand. It's highly recommended that you call this when you're done with your automation.
- **Example:**
```javascript
await stagehand.close();
```
#### `page` and `context`

@@ -303,0 +313,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