There are 2 scripts to run the bot, one for AWS and Heroku respectively. The reason for this is that both of them have different paths for chromedriver. It would be better if there was a way to combine them into a single bot.py that could use the correct path based on the service being hosted on.
On Heroku, the chromedriver and chrome paths need to be set to the following
There are 2 scripts to run the bot, one for AWS and Heroku respectively. The reason for this is that both of them have different paths for chromedriver. It would be better if there was a way to combine them into a single
bot.py
that could use the correct path based on the service being hosted on.On Heroku, the chromedriver and chrome paths need to be set to the following
Additionally, the webdriver needs to have an additional argument
executable_path
and an additional chrome option setOn AWS, none of these are required since chromedriver (and chrome, I think) are on path.