I want to deploy my flask app which uses selenium to scrap a website and returns data in json. It’s getting crashed due to chrome driver path which i’ve added in config vars, but still its not working. Is there any other way to make my web app run on heroku? I’ve added buildpacks too.
driver = webdriver.Chrome(executable_path=("CHROMEDRIVER_PATH"),options=options) options.binary_location = os.environ.get("GOOGLE_CHROME_BIN")
Any assistance will be appreciated.
Source: Python-3x Questions