Recently, my Chrome browser has been updated to Version 57.0.2987.133 (64-bit) . Therefore, my existing protractor test does not work with the current version of chrome. Error message
Version 57.0.2987.133 (64-bit)
Error: unknown error: cannot use the 'in' operator to search for 'String' in false (Session information: chrome = 58.0.3029.96) (Driver information: chromedriver = 2.29.461591 (62ebf098771772160f391d75e589dc567915b233), platform = Windows NT 6.3. 9600 x86_64) (ATTENTION: the server did not provide any information about the stack) Duration or timeout of the command: 18 milliseconds Assembly information: version: "3.4.0", version: "unknown", time: "unknown" System information: 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 Information: org.openqa.seleni um. \ Temp \ scoped_dir7512_11086}, accepts HeapSnapshot = true, pageLoadStrategy = normal, databaseEnabled = false, handlesAlerts = true, hasTouchScreen = false, version = 58.0.3029.96, platform = WIN8_1, browserConnectionEnabled = false, nativeEvents = locationd true = accept, trued true, webStorageEnabled = true, browserName = chrome, accepts Screenshot = true, javascriptEnabled = true, cssSelectorsEnabled = true, unexpectedAlertBehaviour =}]
Even I updated the chrome driver version to 2.28 and then 2.29. but it didn’t work. Here is more detailed information about my current test environment:
Your chromedriver out of date. You need chromedriver 2.29 for Chrome versions 56-58.
chromedriver
Make sure you have the latest webdriver-manager :
webdriver-manager
npm install webdriver-manager
The ad then update:
webdriver-manager update --versions.chrome 2.29
Worked for me.
Try updating the chrome driver using the commands below,
Update webdriver-manager --versions.chrome = 2.28
webdriver-manager start --versions.chrome = 2.28
since you are using an incompatible version of the browser and driver
Source: https://habr.com/ru/post/1266997/More articles:Tissue distribution problem (we could not find the following devices in your profile) - iosIn React, is it good to pass all the details from the parent to the child component? - reactjstoo many initializations for Union Structure array - c ++How to make a common class compatible with a protocol of a certain type? - genericsDetailed documentation for sd-bus systemd - linuxBot service does not work with Node.js. Error cannot find module 'botbuilder' - node.jsPut error response interceptor on abbreviation-axios-middleware - reactjsUsing Google APIs in Angular 2 / TypeScript - javascriptAngular 2 Routing Does Not Work When Deploying To Http Server - angularCalling a MySQL stored procedure using VB6 with an OUT parameter - mysqlAll Articles