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
An equivalent to await page.mouse.click(10, 20); in Vitest.
Alternative
Emitting the click cdp command manually.
Additional context
I'm testing clicking on a top layer. (i.e. a <dialog/> backdrop). I want to click an arbitrary visible point outside the dialog bounding rect...and not the dialog itself.
Clear and concise description of the problem
Playwright has the ability to click a specific point.
I couldn't find the Vitest API for mouse clicks not tied to a DOM node. Only the following seems possible at the moment.
This is the request for such an API.
Suggested solution
An equivalent to
await page.mouse.click(10, 20);
in Vitest.Alternative
Emitting the click cdp command manually.
Additional context
I'm testing clicking on a top layer. (i.e. a
<dialog/>
backdrop). I want to click an arbitrary visible point outside the dialog bounding rect...and not the dialog itself.Validations
The text was updated successfully, but these errors were encountered: