diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2019-08-03 12:31:02 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2019-08-03 12:31:02 +0100 |
commit | 69d1d5f626c637aef352cfd35eeb800760f909b1 (patch) | |
tree | 8928b6adeec2a30f07c0b1dd4f3629d79495a854 /docs/using-monkey.md | |
parent | 404fc65771a3b13d5376ea000b3549ee541cc91c (diff) | |
download | netsurf-69d1d5f626c637aef352cfd35eeb800760f909b1.tar.gz netsurf-69d1d5f626c637aef352cfd35eeb800760f909b1.tar.bz2 |
monkey: Support clicking in windows
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'docs/using-monkey.md')
-rw-r--r-- | docs/using-monkey.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/using-monkey.md b/docs/using-monkey.md index f4fff433f..d031a77bb 100644 --- a/docs/using-monkey.md +++ b/docs/using-monkey.md @@ -142,6 +142,16 @@ Commands This will send a `JS` message back. +* `WINDOW CLICK WIN` _%id%_ `X` _%num%_ `Y` _%num%_ `BUTTON` _%str%_ `KIND` _%str%_ + + Cause a browser window to experience a mouse click. The coordinates should + be in plot coordinates, so you can use redraw plot commands to find things + and then click on them. The `BUTTON` value should be one of `LEFT` + or `RIGHT`, and the `KIND` is `SINGLE`, `DOUBLE`, or `TRIPLE`. + + This command will not output anything itself, it's expected only to do things + as a result of the click (e.g. navigating when clicking a link). + ### Login commands * `LOGIN USERNAME` _%id%_ _%str%_ |