解决使用undetected_chromedriver打包成exe后不能正常运行的问题

import undetected_chromedriver as uc


def google_login():
    options = uc.ChromeOptions()
    driver = uc.Chrome(options=options,use_subprocess=True)
    driver.get(
        "https://accounts.google.com/ServiceLogin/identifier?service=mail&passive=1209600&osid=1&continue=https%3A%2F%2Fmail.google.com%2Fmail%2Fu%2F0%2F&followup=https%3A%2F%2Fmail.google.com%2Fmail%2Fu%2F0%2F&emr=1&flowName=GlifWebSignIn&flowEntry=ServiceLogin"
    )

你可能感兴趣的:(selenium)