browser_hover
Hover over web elements to trigger interactive features during automated browser testing with Playwright sessions.
Instructions
Hover element
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| element | Yes | ||
| ref | Yes |
Implementation Reference
- index.js:398-405 (registration)The 'browser_hover' tool is registered using `server.tool`. It validates the input using Zod and delegates the execution to `proxyToolCall`.
server.tool('browser_hover', 'Hover element', { element: z.string(), ref: z.string() }, async (args) => { const check = requireActivePage(); if (check) return check; return proxyToolCall('browser_hover', args); });