Recently my chrome browser updated to Version 57.0.2987.133 (64-bit)
. Therefore, my existing protractor test is not working with the current version of chrome.
The error message is
Failed: unknown error: Cannot use 'in' operator to search for 'String' in false (Session info: chrome=58.0.3029.96) (Driver info: chromedriver=2.29.461591 (62ebf098771772160f391d75e589dc567915b233),platform=Windows NT 6.3.9600 x86_64) (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 18 milliseconds Build info: version: '3.4.0', revision: 'unknown', time: 'unknown' System info: host: 'WIN-DA72NJNI5DP', ip: '172.16.230.61', os.name: 'Windows Server 2012 R2', os.arch: 'amd64', os.version: '6.3', java.version: '1.8.0_131' Driver info: org.openqa.selenium.chrome.ChromeDriver Capabilities [{applicationCacheEnabled=false, rotatable=false, mobileEmulationEnabled=false, networkConnectionEnabled=false, chrome={chromedriverVersion=2.29.461591 (62ebf098771772160f391d75e589dc567915b233), userDataDir=C:\Users\ADMINI~1\AppData\Local\Temp\scoped_dir7512_11086}, takesHeapSnapshot=true, pageLoadStrategy=normal, databaseEnabled=false, handlesAlerts=true, hasTouchScreen=false, version=58.0.3029.96, platform=WIN8_1, browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=true, locationContextEnabled=true, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true, unexpectedAlertBehaviour=}]
Even i have updated my chrome driver version to 2.28 and then 2.29. but it didn't work. Here is the more information about my current testing environment :
Your chromedriver
is outdated. You need chromedriver
2.29 for Chrome versions 56-58.
Make sure you have the latest webdriver-manager
:
npm install webdriver-manager
Ad then execute the update:
webdriver-manager update --versions.chrome 2.29
Worked for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With