lokithorshield
10 years agoContributor
How to get Objects using getElementsByClassName
Hello,
var some_var = Sys.Browser("*").Page("*").contentDocument.getElementsByClassName("xxx");
var someoTher_Var = some_var.item(1)
Log.Message(some_var.FullName);
I am able to see get element by class name as 8 objects - length 8?. But how to access the object? convert to Array using 'toArray' not working. How do I actually get the first object
Thanks,
Mahesh