browser_fill_form
/ browserselectoption / browsercheck / browseruncheck: form operations.
How to use it
browser_fill_form is exposed by the Sa2web MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the browser_fill_form tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Sa2web MCP
npx playwright install chromium --with-depsOther tools in Sa2web MCP (27)
click by snapshot ref, selector, role/name, text, or x/y coordinates.
close the browser session.
/ browserruncode: run debugging code against iframe#rbi-frame.
return visible page text from the iframe tree. Its optional selector must be a real CSS selector; do not pass snapshot text ids such as t7, #t7, or text[id='t7'].
upload files through file inputs.
accept or dismiss alert/confirm/prompt dialogs.
/ browserdrag: mouse hover and drag.
list every Playwright device preset accepted by device emulation.
/ browserenterinnersite: list and enter internal sites.
list cloud browsing proxy options from /api/v1/home/freebrowse.
/ browserentersaassite: list and enter SaaS sites.
/ browserenterworkspace: list workspace accounts and enter an account-level workspace.
open a target URL through cloud browsing; optional surf is validated against /api/v1/home/freebrowse.
/ browsernavigateforward / browserreload: click the shell buttons #btn-back, #btn-forward, and #btn-reload.
open SA2LOGINURL.
paste plain text, HTML, RTF, and local files (including images) through clipboard data; file inputs use setInputFiles directly.
/ browserpresskey: press a keyboard key.
resize the viewport.
/ browsertakescreenshot: return a PNG screenshot.
scroll the root page or an element by direction/distance, to coordinates or edges, or bring a ref/selector target into view.
return a flat semantic snapshot for models with interactable refs, readable text ids, media elements, descendant iframes, hidden raw URLs, and compact context=[t1,t2] references for controls. Optional filter accepts a CSS selector; omit it for the default full snapshot. Use ref=eN values for actions
toggle desktop/mobile emulation using Playwright device presets and Chromium CDP without recreating the browser context.
type/fill by snapshot ref, selector, role/name, or currently focused element, preserving multiline textarea and contenteditable input.
wait for milliseconds, text, selector, or URL substring.
return the intended agent workflow and examples.
list proxy options plus all saved SaaS, workspace, and inner-site targets with stable targetId values.
open any target. Use { "type": "cloud", "url": "https://example.com" } for public websites, or { "targetId": "workspace:34" } for saved targets.