execute_js
Run custom JavaScript on webpages for automation tasks like clicking elements, filling forms, or scrolling, integrated with browser operations in the Browser Use Server.
Instructions
Execute JavaScript code on a webpage
Input Schema
Name | Required | Description | Default |
---|---|---|---|
script | Yes | The JavaScript code to execute | |
steps | No | Comma-separated actions or sentences describing steps to take after page load (e.g., "click #submit, scroll down" or "Fill the login form and submit") | |
url | Yes | The URL to navigate to |