mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
Instead of defining somewhat high level mouse actions, allow granular control of mouse clicks and mouse down/up/move events. We will want to simulate things like holding down a mouse button after double clicking and then dragging the mouse to another position in the future, and this enables that.
10 lines
235 B
HTML
10 lines
235 B
HTML
<!doctype html>
|
|
<script src="include.js"></script>
|
|
<input type="password" value="well hello friends" />
|
|
<script>
|
|
test(() => {
|
|
internals.click(20, 20, 2);
|
|
println(window.getSelection().toString());
|
|
});
|
|
</script>
|