Reputation: 11
I am preparing a simple cucumber/selenium based application which launches a new browser, brings on the login page of Target.com and attempts to login.
I was able to bring up the Target website home page, traverse to login page and fill up credentials. But the button click on "Sign In" was not working. Just to see the behavior, i tried manually logging in to Target website(in the browser launched by the application) using the credentials and noticed, the "Sign In" button does not work. If i launch Chrome regularly as an independent application, it works.
I checked that JS is enabled in the Chrome launched using ChromeDriver. What else could be an issue? The website url is : https://www.target.com (click on Sign In on top right followed by Sign In in the menu to bring login page. The "Sign in" button on the login page is the one giving problem)
Using the following: ChromeDriver 73.0.3683.20 Chrome Application Version: 74.0.3729.169
Upvotes: 1
Views: 84
Reputation: 1996
Issue : Your Chrome Browser Version is 74 and Your framework is having ChromeDriver Binary v73.0.3683.20 which supports Chrome Browser v73
Solution : Update your ChromeDriver Binary Version to v74.0.3729.6
Please have a look at Chrome Browser Release Section : Chrome Browser vs ChromeDriver Binary and follow below information -
Hope following above would resolve your issue.
Upvotes: 1
Reputation: 325
I just tried to instantiate a driver navigate to the login url and do a click to the login button and it works correctly.
Probably your currently chromedriver (73.0.3683.20) can't automate your chrome version (74.0.3729.169) try to upgrade the chromedriver and be aware that chrome updates automatically
UPDATE:
Just checked chromedriver doc and your chromedriver version only works form chrome 73
Upvotes: 1