browser_click
Click an element on the page using CSS selector
Drive a page by the words a user sees rather than by CSS selectors — clicking, choosing and hovering by text content, with the selector form still there when the text is ambiguous.
LABSCO SUMMARY
Three of the actions — click, select and hover — exist in both a selector-addressed and a text-addressed form, which is the difference between a script that breaks the next time the styling is refactored and one that breaks only when the button's label changes. The remaining reach is browser_evaluate, which runs arbitrary JavaScript in the page: the escape hatch for anything the other nine tools cannot express, and the one to think about before you point this at a page you are logged into.
A Playwright browser server whose click, select and hover actions each come in two forms: one addressed by CSS selector, one by the element's visible text.
No account and no key. The browser runs on the same machine as the server, so the pages it opens and the screenshots it writes stay there.
One command — npx -y @automatalabs/mcp-server-playwright
USE CASES
Open the page, fill the fields by selector, and press the button by the words printed on it. A screenshot at the end gives you the state the flow actually finished in.
Load the page in the state that reproduces the problem and take either the full page or the one element that is wrong, so the report carries a picture rather than a description.
Address elements by the text a user reads instead of by class names that a redesign rewrites. The label is the part of the page least likely to change silently.
Run JavaScript in the page to read a variable, a computed style or the result of a function the interface never displays — the way out when no selector expresses what you need.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
browser_clickClick an element on the page using CSS selector
browser_click_textClick an element on the page by its text content
browser_evaluateExecute JavaScript in the browser console
browser_fillFill out an input field
browser_hoverHover an element on the page using CSS selector
browser_hover_textHover an element on the page by its text content
browser_navigateNavigate to a URL
browser_screenshotTake a screenshot of the current page or a specific element
browser_selectSelect an element on the page with Select tag using CSS selector
browser_select_textSelect an element on the page with Select tag by its text content
BEFORE YOU INSTALL
10 tools when we connected.
npx on PATH
CONTEXT COST
Rated by the size of the 10 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
Add the block to your client, or run the command directly.
{
"mcpServers": {
"mcp-server-playwright": {
"command": "npx",
"args": [
"-y",
"@automatalabs/mcp-server-playwright"
]
}
}
}npx -y @automatalabs/mcp-server-playwright