Not
From UBot Studio
(Difference between revisions)
(→Example) |
|||
| (2 intermediate revisions by one user not shown) | |||
| Line 19: | Line 19: | ||
</pre> | </pre> | ||
| − | |||
| − | [[File:not. | + | The above script will navigate to the specified url in the navigate command in the Then command if the attribute in the [[exists]] qualifier does not exist on the page. |
| + | |||
| + | |||
| + | [[File:not.jpg]] | ||
Latest revision as of 18:48, 29 September 2013
This function is a Qualifier Function. This function returns true if the condition is not true.
Condition: The condition that will not be met within the Not qualifier.
[edit] Example
navigate("google.com", "Wait")
if($not($exists(<innertext="Video Training in Ten Minutes or Less!">))) {
then {
navigate("http://www.ubotstudio.com/resources", "Wait")
}
else {
}
}
The above script will navigate to the specified url in the navigate command in the Then command if the attribute in the exists qualifier does not exist on the page.
