Login to Gmail using Selenium Java

preview_player
Показать описание
It's a simple program to login to Gmail using selenium webDriver.

Please check the updated code in the link below, update your username, password and chromepath in the code before running.
After entering password you may get further security check on your mobile, you may have to accept it manually. Please use the latest chrome version and chrome driver.
Github link:
Рекомендации по теме
Комментарии
Автор

Hi Jagadeesh Jayachandran, when I trying to login to Gmail using selenium I getting this error
"This browser or app may not be secure. Learn more
Try using a different browser. If you’re already using a supported browser, you can refresh your screen and try again to sign in."
I have even on less security and off 2 step verification too still the same issue, can you please help me with this.

geethakaruturi
Автор

Sir i am giving my password correct still it's showing something went wrong please try again and it's not an internet issue ...
Please help!

pranjal
Автор

Hi, my selenium jar files are getting added in eclipse.what to do??

shumylaansari
Автор

sir why i got this error after i input the email field. after inputted the email, it should be fill the password field right sir?

Couldn’t sign you in
This browser or app may not be secure. Learn more
Try using a different browser. If you’re already using a supported browser, you can try again to sign in.

AdnanErlansyah-nxxp
Автор

Hi I am tried this but after running it was showing couldn't sign u in error msg, This browser or app May not be secure .I am using driver and browser stable version 104

RamaKrishna-orcj
Автор

your explanation is quite good when compared to lot youtubers but ur screen is not visible ...please look into this issue

roastraja
Автор

Hi i am doing a log in form in eclipse and met with an error after running the code the values are not entered in to the corresponding fields can you help me correct that

narayanikutti
Автор

Jagadeesh sir! Please share the link of chrome drivers which is you downloaded before

tajzareen
Автор

Hi I am newbie to selenium, can you make vedio (using Maven &TestNG ) for the same login module, and also test case writting for same module by using POM and some common function likr launching browser/ screenshot capture etc.. so that other pages in application can also use these functions. Thank you

archna
Автор

you didn't indicate to open the gmail URL here. And where is this video end point
...?

nandhagobalanb
Автор

Hi jagadeesh. Thanks for a wonderful tutorial. small question. I have logged with some valid test credentials and I logged in to google account. In order to log out of google account should we write another implicit wait after successful login or the implicitly wait first written would work for entire script?

swathilakshmikatakam
Автор

there was spelling mistake in webdriver.. you wrote wedriver* at first

ajinkyajangle
Автор

It's sooo blur, not clear at all

Mrs.SharonPintoMendes