Isalertpresent

This function returns true if an alert has occured and false otherwise.

Usage Examples
Example #1
<selenium baseurl="http://somewhere.com">
   
<chooseOkOnNextConfirmation />
   
<runScript script="window.alert('alerte rouge!')" />
   
<assert>
      
<isAlertPresent />
   
</assert>
   
<getAlert property="alert.msg" />
   
<assert>
      
<eq op1="${alert.msg}" op2="alerte rouge!" />
   
</assert>
</selenium>