Skip to main content
Glama

WebScout MCP

by pyscout

click_element

Click buttons, links, or interactive elements on web pages to navigate interfaces, open modals, start conversations, or trigger UI actions using CSS selectors or visible text targeting.

Instructions

Click a button, link, or any interactive element on the page. Useful for navigating through multi-step interfaces, opening chat modals, starting new conversations, or triggering UI actions. Can target elements by CSS selector or by their visible text content. Automatically waits after clicking to allow page updates.

Input Schema

NameRequiredDescriptionDefault
selectorNoCSS selector for the element to click (e.g., 'button#start-chat', '.new-conversation-btn'). Use this when you know the exact selector.
sessionIdYesSession ID obtained from initialize_session
textNoAlternative to selector: visible text content to search for and click (e.g., 'Start Chat', 'Sign In', 'New Conversation'). Use this when selector is unknown.
waitAfterNoMilliseconds to wait after clicking to allow animations, redirects, or dynamic content to load (default: 1000)

Input Schema (JSON Schema)

{ "properties": { "selector": { "description": "CSS selector for the element to click (e.g., 'button#start-chat', '.new-conversation-btn'). Use this when you know the exact selector.", "type": "string" }, "sessionId": { "description": "Session ID obtained from initialize_session", "type": "string" }, "text": { "description": "Alternative to selector: visible text content to search for and click (e.g., 'Start Chat', 'Sign In', 'New Conversation'). Use this when selector is unknown.", "type": "string" }, "waitAfter": { "default": 1000, "description": "Milliseconds to wait after clicking to allow animations, redirects, or dynamic content to load (default: 1000)", "type": "number" } }, "required": [ "sessionId" ], "type": "object" }

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/pyscout/webscout-mcp'

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