-
Notifications
You must be signed in to change notification settings - Fork 48
ExecuteJavaScriptModifier
Wiiitek edited this page May 22, 2017
·
2 revisions
Execute Java Script Modifier is responsible for executing specified js command.
Module name: executejavascript
Parameter | Value | Description | Mandatory |
---|---|---|---|
cmd |
js script | Javascript command that will be executed | yes |
<?xml version="1.0" encoding="UTF-8" ?>
<suite name="test-suite" company="cognifide" project="project">
<test name="hide-test">
<collect>
<open />
...
<executejavascript cmd="document.body.style.background = 'green';" />
...
<resolution width="1200" height="760" />
<screen />
...
</collect>
<compare>
...
</compare>
<urls>
...
</urls>
</test>
...
<reports>
...
</reports>
</suite>
-
How To Use
-
Releases