[Python] Why my profil is not loaded with Undetected Chrome Driver?

Discussão em 'Python' iniciado por Stack, Fevereiro 10, 2025.

  1. Stack

    Stack Membro Participativo

    I am using code that I found on this website: https://github.com/ultrafunkamsterdam/undetected-chromedriver

    With this code, I should be able to open a chrome windows already connected to my google profile.

    There is the last version of my code:

    import undetected_chromedriver as uc
    import time

    options = uc.ChromeOptions()

    driver = uc.Chrome(
    user_data_dir = "C:\\Users\\...\\Profile 1", version_main=133
    )

    driver.get( 'https://nowsecure.nl' )

    time.sleep(10)

    driver.quit()


    I try many different ways and I am never logged in. I tried with only selenium and it work fine...

    Continue reading...

Compartilhe esta Página