scraping_browser_go_forward
Navigate forward to the next page in the browsing session to continue web scraping and data collection workflows.
Instructions
Go forward to the next page
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- browser_tools.js:86-103 (handler)The tool handler object defining the name, description, input schema (empty parameters), and execute function. The execute function retrieves the current browser page and calls goForward() on it, returning success message with title and URL.const scraping_browser_go_forward = { name: 'scraping_browser_go_forward', description: 'Go forward to the next page', parameters: z.object({}), execute: async()=>{ const page = await (await require_browser()).get_page(); try { await page.goForward(); return [ 'Successfully navigated forward', `Title: ${await page.title()}`, `URL: ${page.url()}`, ].join('\n'); } catch(e){ throw new UserError(`Error navigating forward: ${e}`); } }, };
- browser_tools.js:307-320 (registration)The tool is registered by including it in the exported 'tools' array, which is conditionally exported based on API_TOKEN environment variable.export const tools = process.env.API_TOKEN ? [ scraping_browser_navigate, scraping_browser_go_back, scraping_browser_go_forward, scraping_browser_links, scraping_browser_click, scraping_browser_type, scraping_browser_wait_for, scraping_browser_screenshot, scraping_browser_get_text, scraping_browser_get_html, scraping_browser_scroll, scraping_browser_scroll_to, ] : [scraping_browser_activation_instructions];
- browser_tools.js:89-90 (schema)Input schema defined using Zod as an empty object (no parameters required).parameters: z.object({}), execute: async()=>{