Quantcast
Channel: New board topics in SmartBear Community
Viewing all articles
Browse latest Browse all 20755

How to get Objects using getElementsByClassName

$
0
0

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


Viewing all articles
Browse latest Browse all 20755

Trending Articles