I wrote some python script combine with selenium to login a website automatically,it works well on my PC.
Now I compress the script as exe file to run on a remote PC,but it cannot load the page, stucks at "checking your browser before accessing xxx".
Why?
here is my code:
op = webdriver.ChromeOptions()
op.add_experimental_option('excludeSwitches',['enable-logging'])
ser = Service('chromedriver.exe')
wd = webdriver.Chrome(service=ser,options=op)
wd.get(self.url)
# time.sleep(30)
try:
email_input = WebDriverWait(wd,30).until(
EC.presence_of_element_located((By.ID,"user_email"))
)
except Exception as e:
print(e)