Selenium Automation: Couldn't sign you in mail.google.com | Selenium Forum
S
Saurabh Oli Posted on 08/03/2020

Hi,

I am facing Couldn't sign you in error when I am executing my selenium test of gmail login.

Browser:

Chrome: Version 80.0.3987.132 (Official Build) (64-bit)

Firefox: 73.0.1 (64-bit)

Steps to Reproduce: 

1. Navigate to gmaiUrl=https://mail.google.com/

2. Enter user name in field username_id=identifierId

3. Click on Next button: next_button_xpath=//span[contains(@class, 'RveJvd snByac') and normalize-space(text()) = 'Next']

4. Enter password in password field password_xpath=//input[@type='password' or @name='password']

    * I could not enter the password through selenium script, So I did it manually in debug mode of script: Kindly provide solution for this issue as well. 

5. Click on Next button loginSubmit_id=passwordNext

Actual Result: 

I clicked on Learn more: https://support.google.com/accounts/answer/7675428?hl=en-GB

My setting=> JavaScript is turned on

 

 


A
Ashish Thakur Replied on 09/03/2020

google is very fuzzy about automation. 

Try using another browser with latest drivers.

If it stil fails, try using another application.


S
Saurabh Oli Replied on 09/03/2020

I mentioned Firefox: 73.0.1 (64-bit) as well. 

Can you please suggest the Browser version and driver version? On which it can login.

Or we can conclude its not at all possible to run automation on  mail.google.com


A
Ashish Thakur Replied on 09/03/2020

Please try using google chrome as well.