I am using selenium to scrape data from a website. Everything works fine, however, I experience that if I switch to another tab to work on something else, chromedriver stops finding the elements on the page without throwing an error. It goes into exception right away.
Once I go to chrome, it starts processing again. I am using Max OS High Sierra 10.13.16.
Using windows, I did not have this problem. Is there a way that it can literally run in the background, meaning if the browser is not visible?
Thank you!