Not
From UBot Studio
(Difference between revisions)
Line 20: | Line 20: | ||
− | The above script will navigate to the specified url | + | 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.png]] | [[File:not.png]] |
Revision as of 18:43, 14 July 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.
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.