💬 Commit message: Update 2026-02-08 03:05:28, 17 files, 662 lines
📁 Files changed: 17 📝 Lines changed: 662 • plugin.json • .mcp.json • README.md • analyze.md • compare.md • end.md • extract.md • fill.md • goto.md • restore.md • save.md • scrape.md • screenshot.md • start.md • package.json • browser.ts • mcp.ts
This commit is contained in:
@@ -44,6 +44,16 @@ export class ClaudeBrowser {
|
||||
return this.page;
|
||||
}
|
||||
|
||||
/** Get the current page instance (for advanced usage) */
|
||||
getPage(): Page | null {
|
||||
return this.page;
|
||||
}
|
||||
|
||||
/** Get the browser context (for advanced usage like cookies) */
|
||||
getContext(): BrowserContext | null {
|
||||
return this.context;
|
||||
}
|
||||
|
||||
async goto(url: string): Promise<{ url: string; title: string }> {
|
||||
const page = this.ensurePage();
|
||||
await page.goto(url, { waitUntil: 'networkidle' });
|
||||
|
||||
Reference in New Issue
Block a user