0

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.

Mohammad Faisal
  • 1,977
  • 1
  • 18
  • 15
  • Seeing your profile you are truly averse with the idea on how SO works. i am pretty sure you can see the issues with your uestion if you try to answer yourself. Like what code you have tried ? What is page source code ? etc. etc. Cheers !!!! – rahul rai Aug 29 '20 at 04:48

1 Answers1

1

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.

  • 1
    Thanks, @Paul Taylor for redirecting to the correct link. By doing something like this in selenium firefox it helped. profile.set_preference("dom.webdriver.enabled", False) profile.set_preference('useAutomationExtension', False) – Mohammad Faisal Aug 29 '20 at 05:37