I am trying to scrape data from the following website:
http://mozo.com.au/credit-cards/search#fetch/680
Using chrome's 'inspect element feature' I have been able to locate the element address I want as:
//*[@id="p-40"]/div[4]/table/tbody/tr/td[1]/text()
I was hoping using this code, I would be able to get the text "9.99%"
import requests
page = requests.get('http://mozo.com.au/credit-cards/search#fetch/680')
tree = html.fromstring(page.text)
tree.xpath('//*[@id="p-40"]/div[4]/table/tbody/tr/td[1]/text()')
However, the output is an empty array. Where am I going wrong?