How to count number of elements in a web page

sumire

New Member
Hi,

I want to count number of elements in a web page.
(ex. how many '<li>' in a web page?)

If I do with JQuery:

$(function() { var size = $('li').length; alert(size); });

or VBA:

document.getElementsByTagName("li").length

I want to do same as this with Blue Prism.
Please tell me how to do.

Thanks in advance
 
Hi,

Hope am getting your question. Please correct me if am wrong.
Whenever you spy full page it will give different flavors of element under the attribute "Value". So can make Code stage in order to make a counter of element has <li></li> tags.



Shikhar
 
Top