Click here to Skip to main content
15,797,062 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have tried to input my user name at this site using Selenium. The name input works OK. My application ends with name input. I manually click the Continue button. The password entry box should appear. Instead, I notice that something went wrong. I presume that the web page somehow detects that a real person is not inputting. Is there a way around this?

What I have tried:

I don't know to try anything more.
Updated 13-Sep-23 5:13am

It's not working because the email address input box is part of the original page you downloaded. The password box doesn't exist until you enter an email address and click the continue button.

The problem is that password box is in a partial HTML page that is downloaded BY THE EXECUTION OF JAVASCRIPT on the original page. Selenium isn't executing the javascript so you never get the password HTML.

Google for "Selenium execute javascript" to see if there's something you can use.
Share this answer
BobbyStrain 1-Sep-23 19:51pm    
Thank you, Dave. I'll see if I can fix it. I don't understand why won't use the address and password that are stored in Firefox.
Dave Kreskowiak 2-Sep-23 10:36am    
Because the problem isn't, it's the code in the browser that fills in the details. The password box isn't following any kind of "standard" that browser can use to find the password box, like it doesn't exist at all!
BobbyStrain 2-Sep-23 10:59am    
Thank you. So when I fix the javascript execution will it work?
Dave Kreskowiak 2-Sep-23 11:26am    
This is where you try, experiment, diagnose, make changes, ... and find out.
No there is no way round it. Websites control what you can and cannot do with their web pages.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900