exec-page
Execute custom JavaScript on web pages using Puppeteer's page API for automation, testing, or scraping. Input page ID and code to interact with or retrieve data dynamically.
Instructions
Execute arbitrary JavaScript code on a page with access to Puppeteer's page API
Input Schema
Name | Required | Description | Default |
---|---|---|---|
pageId | Yes | The ID of the page to execute code on | |
source | Yes | JavaScript code to execute on the page. The code has access to the 'page' object and should return a value |