mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:47:35 +00:00
LibWeb: Add internals.wheel() to simulate mouse wheel events
This function allows us to write tests for scrolling scenarios where the events are processed by the EventHandler.
This commit is contained in:
parent
e38ccebfc8
commit
40246adfb9
5 changed files with 48 additions and 0 deletions
|
@ -11,6 +11,7 @@
|
|||
undefined commitText();
|
||||
|
||||
undefined click(double x, double y);
|
||||
undefined wheel(double x, double y, double deltaX, double deltaY);
|
||||
|
||||
boolean dispatchUserActivatedEvent(EventTarget target, Event event);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue