You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using the playwright-mcp, which relies heavily on snapshots, returned from _snapshotForAI.
For our use case it would be very useful if the snapshot contained information about currently focused element, i.e. the focused key.
The possibility to get the list of focusable elements would be appreciated too (focusable key), as this might prove useful for our other scenarios.
Example
Testing focus movement/accessibility.
Motivation
There should be a way for the MCP client that uses playwright-mcp to tell which element is focused. This is useful for testing the correct focus behavior and accessibility.
Activity
feat(aria): capture active element state