1. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

[Python] How to get the ChromeDriver automatically updated through Python selenium after...

Discussão em 'Python' iniciado por Stack, Setembro 10, 2024.

  1. Stack

    Stack Membro Participativo

    I use to pack the Chromedriver into my exe package too but as people say it changes quite frequently.

    So I try the auto check for update method using the selenium import webdriver which also worked like a dream in the IDE however when I compile the code to exe file using Pyinstaller method it then falls and will no longer download the update to my temp MEIPASS location where I later execute the driver for the remainin part of my program.
    Could this be windows some how blocking this type of request now it is within an exe file?

    Just as an update here it is probably because I am unsure where the autoupdater extracts the new chromedrive to does anybody know where the driver will be placed when it updates?

    Continue reading...

Compartilhe esta Página