$browser element frame count

Allows you to get the certain number of elements on a webpage.


Example

Running this code will count the number of elements in "https://www.google.com/".

As shown in the alert box, there is "1" element present.

lugin 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 element frame count"))

Was this helpful?