$browser url

Allows you to get the current URL of a browser.


Example

Running this code will get the opened URL in the browser.

As shown in the alert box, the URL is "https://www.google.com/".

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 url"))

Was this helpful?

Previous Article

$browser title