$browser process id

Allows you to get the process ID of the browser.


Example

Running this code will get the process ID.

As shown in the alert box, the process ID is 4464.

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 process id"))

Was this helpful?

Previous Article

$browser page source

Next Article

$browser rectangle