summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/using-monkey.md10
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%_