summaryrefslogtreecommitdiff
path: root/docs/using-monkey.md
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2019-05-05 15:59:30 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2019-05-05 16:00:03 +0100
commit689458aa6e1ad02e15dbd8f48d8a87bd933ec149 (patch)
treedb0c8fd7f2dd24f05df89431b257db195884908a /docs/using-monkey.md
parent3021142aadf58bf65da1619d3ead92281beaffeb (diff)
downloadnetsurf-689458aa6e1ad02e15dbd8f48d8a87bd933ec149.tar.gz
netsurf-689458aa6e1ad02e15dbd8f48d8a87bd933ec149.tar.bz2
Monkey: Support WINDOW EXEC WIN n cmd...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'docs/using-monkey.md')
-rw-r--r--docs/using-monkey.md12
1 files changed, 10 insertions, 2 deletions
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