test_watch_events
Watch for DOM/network events
How to use it
test_watch_events is exposed by the Glance MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the test_watch_events tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Glance
claude mcp add glance -- npx glance-mcpOther tools in Glance (30)
Click an element (CSS selector or text)
Close the browser
Read console logs and errors
Drag and drop between elements
Execute JavaScript in the page
Navigate back
Navigate forward
Hover over an element
Navigate to a URL
Monitor network activity
Press a keyboard key
Capture a screenshot (returned inline to Claude)
Scroll the page or to an element
Select from a dropdown
Get the accessibility tree as text
List all open tabs
Open a new tab
Switch to a tab
Type into an input field
End and save a session
List recorded sessions
Start recording a session
Run a single assertion
Test a login/signup flow
Auto-fill a form
Run a multi-step test scenario
Check running scenario status
Stop watching events
Save a visual baseline
Compare against baseline