I am trying to pull the total listings at the top of the main section (in this case it currently says 72 Listings). I have tried both By.XPATH
and By.CSS_SELECTOR
with no luck.... Any idea why this isn't working?
driver.get('https://swappa.com/mobile/buy/apple-iphone-8/att')
n = WebDriverWait(driver, 0.01).until(EC.presence_of_element_located((By.CSS_SELECTOR, ".col-xs-9 pull-left"))).text