Skip to main content
Glama

Browser Use Server

by ztobs

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

NameRequiredDescriptionDefault
scriptYesThe JavaScript code to execute
stepsNoComma-separated actions or sentences describing steps to take after page load (e.g., "click #submit, scroll down" or "Fill the login form and submit")
urlYesThe URL to navigate to

Input Schema (JSON Schema)

{ "properties": { "script": { "description": "The JavaScript code to execute", "type": "string" }, "steps": { "description": "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\")", "type": "string" }, "url": { "description": "The URL to navigate to", "type": "string" } }, "required": [ "url", "script" ], "type": "object" }
Install Server

Other Tools from Browser Use Server

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ztobs/cline-browser-use-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server