简体   繁体   中英

Selenium: A specific page in website is coming blank / white screen

Using selenium I can browse through the entire website except for the login screen on a specific website. When I checked page source I see some js codes.

Using a normal chrome browser I can access the expected login screen. Can anyone help me to overcome this issue? Thanks in advance.

Chances are that the website is detecting that you are using a bot and is blocking you from accessing its login screen for that reason. I can't know for sure that this is the reason because I haven't seen your issue in person, but most good websites don't like having non-human users interact with their pages, and a login page is exactly the type of page that the website would block you from accessing.

You can try to change some things to make Selenium less detectable by the website, but it's quite difficult and inconsistent at best. You can find some more information about achieving this here , but I wouldn't expect too much.

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