Need to displaying number of videos displaying in Curosol using selenium -


need displaying number of videos displaying in curosol using selenium.

tried xpath :

homepagenumberofplaylist_xpath = //div[@class='jcarousel']/descendant::ul/descendant::li  driver.findelement(by.xpath("homepagenumberofplaylist_xpath")).getsize();

enter image description here

but getting error

java.lang.illegalargumentexception: cannot find elements when xpath expression null.

thanks in advance.


Comments

Popular posts from this blog

angular - Is it possible to get native element for formControl? -

unity3d - Rotate an object to face an opposite direction -

javascript - Why jQuery Select box change event is now working? -