I am still quite amateur at python, I am trying to scrape data from a website using selenium
<small class="fxs_price_ohl"> <span>Open 1.29814</span> <span>High 1.29828</span> <span>Low 1.29775</span> </small> </div> </div> </li> <script type="application/ld+json">
trying to obtain the data Open 1.29814, High 1.29828 and Low 1.29775 from the html code above^
count_element = browser.find_element_by_xpath("//small[@class='fxs_price_ohl']//span")
print(count_element.text)
I'm using selenium with python, this is my code ^ But count_element.text prints empty, how to get the data Open 1.29814, High 1.29828 and Low 1.29775