I am trying to crawl a web page using Selenium, but for some reason the elements I need are not showing up in the page source
I've tried using a WebDriverWait until the page loads. I've also tried to see if the data is in a different frame that I need to switch to.
driver.get('https://foreclosures.cabarruscounty.us/')
try:
WebDriverWait(driver, delay).until(EC.presence_of_element_located((By.XPATH,'//*[@id="app"]/div[5]/div/div')))
print("Page is ready!")
web_url = driver.page_source
print(web_url)
except TimeoutException:
print("Loading took too much time!")
I would expect to see all of the records for each individual property card that I could then extract. However, the page source does not show any of this data.
If I manually load the web page and inspect the source, the data just does not exist view-source:https://foreclosures.cabarruscounty.us/