[Python] Selenium doesn't work quite right on Heroku

Discussão em 'Python' iniciado por Stack, Maio 11, 2025.

  1. Stack

    Stack Membro Participativo

    So the big issue is that when I run my code on Heroku, which is to automate clicking certain buttons on a website, I don't have an issue running in locally. However the minute I switch to Heroku and using a one-off 2XL worker dyno to run it, it doesn't work

    RAM is not a problem

    Compute is not a problem

    Yet, using the updated buildpack (as of 2025) and installing it using the documentation they provided, it can driver.get('website.com), but it mysteriously doesn't trigger my try-except code blocks and just exits.

    Is there any way around this??? Any assistance at all would be immensely helpful

    So for context, I am using this buildpack: heroku-buildpack-chrome-for-testing.

    Continue reading...

Compartilhe esta Página