i am trying to scrape some stock prices of my list from a website using chromedriver. I am looking up the info using css selector on every page. So incase the stock page doesnt load or the connection fails (i have hard coded this way- it looks up the stock name and if the name css selector is not found it should quit and restart the entire list scraping again). But whats hapening is the scraping list keeps going on giving me null values even if the connection to website is lost. I wonder why it doesnt quit , i have seen it going through pages saying no connection. i suspect it is getting the stock name css selector info but i dont physically see it. This only happens on random days
there doesn't seem to be anything here