$browser alive

Allows you to check whether a browser is active or not.


Example

Running this code will navigate to the URL "https://www.google.com/". After the command, the function "$browser alive" will check whether the URL Running this code will navigate to the URL "https://www.google.com/" is still active.

As shown in the alert box, the URL is still active.

plugin command("Browser Automation.dll", "browser connect", "Chrome", "30,0,30,10", "True", "False", "True")
plugin command("Browser Automation.dll", "browser navigate", "https://www.google.com/")
alert($plugin function("Browser Automation.dll", "$browser alive"))

Was this helpful?

Next Article

$browser current