How To Deploy Python Selenium Script in Heroku via CLI & GitHub in 2022

Поделиться
HTML-код
  • Опубликовано: 29 окт 2024

Комментарии • 15

  • @Souke412
    @Souke412 7 месяцев назад +3

    Hello
    Heroku seems to have adjusted ChromeDriver in the past two days and needs to use chrome for testing instead.
    1.Buildpack adds Chrome for Testing
    2. driver = webdriver.Chrome(options=chrome_options) # CHROMEDRIVER_PATH is no longer needed

    • @ivan0107
      @ivan0107 7 месяцев назад

      I can confirm

  • @Souke412
    @Souke412 7 месяцев назад +1

    Thank you for your video. It really helped me. I looked for several videos and only your video can really be executed.
    Thank you once again

  • @hydraclashers4272
    @hydraclashers4272 8 месяцев назад +1

    Can I deploy it with chromedriver autoinstaller?

    • @MichaelKitas
      @MichaelKitas  7 месяцев назад

      Yeah, you should be able to

    • @hydraclashers4272
      @hydraclashers4272 7 месяцев назад

      @@MichaelKitas I have tried it but on heroku it always gave error about chrome driver path. Please tell me how to deploy selenium script with chrome driver auto installer on heroku Or please make a video on it Please.

  • @ghostgkali6052
    @ghostgkali6052 2 года назад

    Hi Michael, I have the proxie file from your selenium guide, but when I use it in my main code I get an error saying "exception has occurred typeerror object.__init__() takes exactly one argument (the instance to initialize)" Do you know how I could implement the proxies? I need my main py to run every time with a new proxie. I really appreciate your help and I really love your content, it has really helped me a lot.

  • @gauthamkrishna6403
    @gauthamkrishna6403 2 года назад +1

    Good info!.. But is there any other free platform for to run selenium bcoz soon the free services in heroku are stopping... A video on this will be appreciated!!

    • @MichaelKitas
      @MichaelKitas  2 года назад

      Soon, will do one with Vercel. (Haven't tried it yet though, so not sure if it is supported)

    • @yummyyummy3452
      @yummyyummy3452 Год назад

      @@MichaelKitas Hi Sir can I know is it possible to do it on Vercel?If not is there any avialable platform that I can use to host my django project with selenium in it?

  • @peterschrimpel9375
    @peterschrimpel9375 Год назад +1

    Thanks a lot