From 69d1d5f626c637aef352cfd35eeb800760f909b1 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sat, 3 Aug 2019 12:31:02 +0100 Subject: monkey: Support clicking in windows Signed-off-by: Daniel Silverstone --- docs/using-monkey.md | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'docs/using-monkey.md') 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%_ -- cgit v1.2.3