Protractor 5.1.1 doesn't work with Chrome 57
See original GitHub issue(node:9828) DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
[11:48:42] I/launcher - Running 1 instances of WebDriver
[11:48:42] I/local - Starting selenium standalone server...
[11:49:12] E/launcher - Error: Error: Timed out waiting for the WebDriver server at http://10.10.10.76:45678/wd/hub
at onError (C:\projects\JustEat.TopPlacement.ManagementWeb\src\JustEat.TopPlacement.ManagementWeb.ProtractorTests\node_modules\selenium-webdriver\http\util.js:102:16)
at process._tickCallback (internal/process/next_tick.js:103:7)
[11:49:12] E/launcher - Process exited with error code 100
Protractor.conf.js looks like this:
allScriptsTimeout: 30000,
specs: [
"./**tests/*.js"
],
capabilities: {
browserName: "chrome",
chromeOptions: {
args: ["--test-type", "--no-sandbox"],
},
loggingPrefs: {
browser: "ALL"
}
},
jasmineNodeOpts: {
showColors: true,
defaultTimeoutInterval: 5 * 60 * 1000
},
Issue Analytics
- State:
- Created 7 years ago
- Reactions:5
- Comments:34 (16 by maintainers)
Top Results From Across the Web
Protractor 5.1.1 doesn't work with Chrome 58 - Stack Overflow
Recently my chrome browser updated to Version 57.0.2987.133 (64-bit) . Therefore, my existing protractor test is not working with the ...
Read more >Developers - Protractor 5.1.1 doesn't work with Chrome 57 -
Coming soon: A brand new website interface for an even better experience!
Read more >angular/protractor - Gitter
Hey guys, I am having a problem testing the count of an array. It keeps returning the error 0 expected to be 5....
Read more >ChromeDriver Failure with Protractor - How to Use GitLab
When using protractor testing and headless mode in gitlab ... Some have suggested shm_size issues; Karma tests with headless chrome are fine.
Read more >protractor | Yarn - Package Manager
Protractor runs tests against your application running in a real browser, interacting with it as a user would. Compatibility. Protractor 5 is compatible...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Just for completeness, thanks to @NickTulett suggestion, you can turn off the password manager (and infobars) in Protractor thusly…
UPDATE: removing “–remote-debugging-port” option from Protractor config (but not Karma!) solves the issue (understandably, because it interferes with ChromeDriver on that port)! I.e. Protractor 5.1.1 works with Chrome 57 on a headless system without Xvfb. https://github.com/angular/protractor/issues/4164#issuecomment-288909191 if anyone is interested.