-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Protractor against webdriver-manager This version of ChromeDriver only supports Chrome version 74 Error #351
Comments
We are having the same issue. For now, we are able to work around it by specifying the exact chrome version when updating the drivers: |
@scooper91 Thx scoop! I shall document this as a solution to the versioning problem. Cheers, RW It seems that the combination below has introduced significant instability in the execution of Protractor. --protractor v6.9.0 I now have: "Error while waiting for Protractor to sync with the page: "both angularJS testability and angular testability are undefined. This could be either because this is a non-angular page or because your test involves client-side navigation, which can interfere with Protractor's bootstrapping. See http://git.io/v4gXM for details" This is a common and well-documented error, but not one that I have encountered with previously what was a rather robust Protractor. I've tried dozens of solutions for this regarding timeouts and timing, but I believe that the timing is a red herring and some change made from previous versions causes even the simplest examples not to work, The issues is likely in Protractor now. I shall now proceed to the Protractor issues page. |
Great this looks like it has been resolved. The idea was (if passed the no params), webdriver-manager would download the latest assuming it worked with the browser you were using. This is working as intended but the Chrome version isn't out and the Chromedriver version is released. I have ideas on how we can fix this in the future but since this is working as designed, I am closing this issue. |
Appreciate if this can be fixed in future. If you are using Chrome version 74, please download ChromeDriver 74.0.3729.6 |
This comment has been minimized.
This comment has been minimized.
Thanks @scooper91 I slightly modified your command and it works perfectly fine in Mac OS |
Getting the same errors, I've tried |
This comment has been minimized.
This comment has been minimized.
For now I guess I'll stick to using protractor version EDIT - Will try your fixes, thanks @RoakyWood |
Thanks works. To clarify:
With these changes it works again. |
@edarioq E.Q.: Awesome! The entire backstory is here: SeleniumHQ/selenium#2969 |
Summary: Run Latest Protractor against latest webdriver-manager, looks for Chrome Browser 74, which does not yet exist. Errors below. Please advise of workaround or when fix is forthcoming. (See inter alia: bonigarcia/webdrivermanager#318)
Run webdriver-manager v13.0.0 node v10.15.0 Windows 7 Update 1
PATH\Protractor\node_modules\protractor\node_modules\webdriver-manager\bin>node webdriver-manager start
C:\Program Files (x86)\Java\jdk1.8.0_172\bin\java.exe -Dwebdriver.chrome.driver=PATH\Protractor\node_modules\protractor\node_modules\webdriver-manager\downloads\chromedriver_74.0.3729.6.exe -Dwebdriver.gecko.driver=PATH\Protractor\node_modules\protractor\node_modules\webdriver-manager\downloads\geckodriver_0.24.0.exe -jar
PATH\Protractor\node_modules\protractor\node_modules\webdriver-manager\downloads\selenium-server-standalone-3.141.59.jar -port 4444
selenium process id: 12060
15:55:48.473 INFO [GridLauncherV3.parse] - Selenium server version: 3.141.59, revision: e82be7d358
15:55:48.520 INFO [GridLauncherV3.lambda$buildLaunchers$3] - Launching a standalone Selenium Server on port 4444
2019-03-25 15:55:48.553:INFO::main: Logging initialized @288ms to org.seleniumhq.jetty9.util.log.StdErrLog
15:55:48.739 INFO [WebDriverServlet.] - Initialising WebDriverServlet
15:55:48.963 INFO [SeleniumServer.boot] - Selenium Server is up and running on port 4444
Run Protractor 6.9.0
PATH\Source\Workspaces\Test_Automation\PNL_Tests\NewPNLGridTests> node PATH\Protractor\node_modules\protractor\bin\protractor conf.js
[16:00:28] W/driverProviders - Using driver provider directConnect, but also found extra driver provider parameter(s): seleniumAddress
[16:00:28] I/direct - Using ChromeDriver directly...
DevTools listening on ws://127.0.0.1:33657/devtools/browser/473fad9e-b641-4509-b265-ff1c7d57d9d9
[0325/160030.761:ERROR:broker_win.cc(55)] Error reading broker pipe: Error (0x5) while retrieving error. (0x6D)
[0325/160030.762:ERROR:cmd_buffer_helper.cc(141)] ContextResult::kFatalFailure: CommandBufferHelper::AllocateRingBuffer() failed
[16:00:31] E/launcher - Error: SessionNotCreatedError: session not created: This version of ChromeDriver only supports Chrome version 74
(Driver info: chromedriver=74.0.3729.6 (255758eccf3d244491b8a1317aa76e1ce10d57e9-refs/branch-heads/3729@{#29}),platform=Windows NT 6.1.7601 SP1 x86_64) at Object.checkLegacyResponse (PATH\Protractor\node_modules\protractor\node_modules\selenium-webdriver\lib\error.js:585:15) at parseHttpResponse (PATH\Protractor\node_modules\protractor\node_modules\selenium-webdriver\lib\http.js:533:13) at Executor.execute (PATH\Protractor\node_modules\protractor\node_modules\selenium-webdriver\lib\http.js:468:26) at process._tickCallback (internal/process/next_tick.js:68:7)
[16:00:31] E/launcher - Process exited with error code 100
Cheers, RW
The text was updated successfully, but these errors were encountered: