I am having trouble getting the text element ("1,028 Sales") from the following page: https://www.etsy.com/shop/susansimonini?ref=l2-shopheader-name.
I can get the element itself with no issue using this:
driver.find_element_by_class_name('shop-sales')
But I cannot convert it to text. The following results in a blank line:
sales=driver.find_element_by_class_name('shop-sales').text
print sales
What am I doing wrong? Thanks in advance for your help.
josh