From 689458aa6e1ad02e15dbd8f48d8a87bd933ec149 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sun, 5 May 2019 15:59:30 +0100 Subject: Monkey: Support WINDOW EXEC WIN n cmd... Signed-off-by: Daniel Silverstone --- docs/using-monkey.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/using-monkey.md b/docs/using-monkey.md index 1d0a96be3..8d051cfff 100644 --- a/docs/using-monkey.md +++ b/docs/using-monkey.md @@ -130,14 +130,22 @@ Commands Cause a browser window to reload its current content. Expect responses similar to a GO command. +* `WINDOW EXEC WIN` _%id%_ _%str%_ + + Cause a browser window to execute some javascript. It won't + work if the window doesn't have a *finished* HTML content. + + This will send a `WINDOW JS WIN` _%id%_ `RET` `TRUE`/`FALSE` + where `FALSE` indicates that some issue prevented the injection of + the script. ### Login commands -* `LOGIN USERNAME` _%id%_ _%str_ +* `LOGIN USERNAME` _%id%_ _%str%_ Set the username for the login -* `LOGIN PASSWORD` _%id%_ _%str_ +* `LOGIN PASSWORD` _%id%_ _%str%_ Set the password for the login -- cgit v1.2.3