简体   繁体   中英

python selenium white page

I want get html from here . This link work OK in my browser. But if I disable cookies in settings, this page reload endless.

My basic code return blank page

options = Options() 
options.add_argument("--start-maximized") 

cpll = "C:\Users\aaa\chromedriver.exe"
driver = webdriver.Chrome(cpll,chrome_options=options)
driver.get("https://www.elal.com/en/PassengersInfo/Useful-Info/Flight-Schedule/Pages/Flight-Updates.aspx")

在此处输入图片说明

I tried add cookies , ignore SSL , change driver version, but I get this page...

What could be the problem?

with

from selenium import webdriver

driver = webdriver.Firefox()
driver.get("https://www.elal.com/en/PassengersInfo/Useful-Info/Flight-Schedule/Pages/Flight-Updates.aspx")

... i get a normal page 在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM