diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2019-05-06 19:20:15 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2019-05-06 19:20:18 +0100 |
commit | 1736bdcfee86a776ab3a9a6b74b2f9646688bb9c (patch) | |
tree | b1da450029563111bbb9eb861ecaf8e38eeef64c /test/monkey-tests | |
parent | a43b83de0369228b935b693390186e5a8804340d (diff) | |
download | netsurf-1736bdcfee86a776ab3a9a6b74b2f9646688bb9c.tar.gz netsurf-1736bdcfee86a776ab3a9a6b74b2f9646688bb9c.tar.bz2 |
Add js-exec to monkey_driver, add a test, etc.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'test/monkey-tests')
-rw-r--r-- | test/monkey-tests/inserted-script.yaml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/test/monkey-tests/inserted-script.yaml b/test/monkey-tests/inserted-script.yaml index b2f8fbf64..ac7bb0f7f 100644 --- a/test/monkey-tests/inserted-script.yaml +++ b/test/monkey-tests/inserted-script.yaml @@ -10,7 +10,14 @@ steps: window: win1 - action: navigate window: win1 - url: file:///home/dsilvers/dev-netsurf/workspace/netsurf/test/js/inserted-script.html + url: about:blank +- action: block + conditions: + - window: win1 + status: complete +- action: js-exec + window: win1 + cmd: location.assign("file:///home/dsilvers/dev-netsurf/workspace/netsurf/test/js/inserted-script.html") - action: block conditions: - window: win1 |