Not
From UBot Studio
(Difference between revisions)
(→Example) |
|||
(One intermediate revision by one user not shown) | |||
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. | + | [[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.