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();
but getting error
java.lang.illegalargumentexception: cannot find elements when xpath expression null.
thanks in advance.
Comments
Post a Comment