You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 17, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 17, 2026. It is now read-only.
2016-10-17T08:36:19.2539049Z C:\BuildAgent\Work\2\s\Pim.Solution\Pim.PortalApp\node_modules\protractor\node_modules\webdriver-manager\built\lib\cmds\update.js:63
2016-10-17T08:36:19.2539049Z var gecko = options[Opt.GECKO].getBoolean();
2016-10-17T08:36:19.2539049Z ^
2016-10-17T08:36:19.2539049Z TypeError: Cannot read property 'getBoolean' of undefined
2016-10-17T08:36:19.2539049Z at Program.update as runMethod
2016-10-17T08:36:19.2539049Z at Program.run (C:\BuildAgent\Work\2\s\Pim.Solution\Pim.PortalApp\node_modules\protractor\node_modules\webdriver-manager\built\lib\cli\programs.js:60:14)
2016-10-17T08:36:19.2539049Z at Object. (C:\BuildAgent\Work\2\s\Pim.Solution\Pim.PortalApp\node_modules\protractor\node_modules\webdriver-manager\built\lib\webdriver.js:25:38)
2016-10-17T08:36:19.2539049Z at Module._compile (module.js:541:32)
2016-10-17T08:36:19.2539049Z at Object.Module._extensions..js (module.js:550:10)
2016-10-17T08:36:19.2539049Z at Module.load (module.js:458:32)
2016-10-17T08:36:19.2539049Z at tryModuleLoad (module.js:417:12)
2016-10-17T08:36:19.2539049Z at Function.Module._load (module.js:409:3)
2016-10-17T08:36:19.2539049Z at Module.require (module.js:468:17)
2016-10-17T08:36:19.2539049Z at require (internal/module.js:20:19)
2016-10-17T08:36:19.2539049Z [08:36:19] 'webdriver' errored after 530 ms
This is probably because our build server OS is not supported? I saw this line of code:
I also encountered this issue, first thing this morning.
We're using webdriver-manager as a part of a Angular 2 / Protractor setup, but this should be a general fix / workaround.
The fix has been to manually downgrade to version 10.2.3 (on our CI server) - by deleting the webdriver manager, then downgrading by executing npm i [email protected].
So technically it's not a fix, but it's a workaround.
I'd like to add that we cannot reproduce this on a Windows 10 nor on a MacOS (Sierra) machine, but the build server / CI server, running Windows Server 2012 R2 (x64), on AppVeyor, displays the behaviour described.
it seems that geckodriver has support for 32-Bit beginning with version v0.11.0, but default geckoriver is v0.9.0 as stated in config.json
to support 32-Bit the config.json bust be changed to support the latest geckodriver and "supports" function has to check for 32-Bit and suffixes must include something like Linux32 and Windows_NT32
Because of the new Chrome v54 requiring the chromdriver 2.24 I thought I needed the latest webdriver-manager version but the below workaround works for me and anyone else who is just trying to get latest chromedriver
Workaround: Use previous webdriver-manager version 10.2.3 and specify the chrome and selenium versions when using webdriver-manager, like so: webdriver-manager update --versions.chrome=2.24 --versions.standalone=2.53.1
Activity
askarby commentedon Oct 17, 2016
I also encountered this issue, first thing this morning.
We're using webdriver-manager as a part of a Angular 2 / Protractor setup, but this should be a general fix / workaround.
The fix has been to manually downgrade to version 10.2.3 (on our CI server) - by deleting the webdriver manager, then downgrading by executing
npm i [email protected].So technically it's not a fix, but it's a workaround.
I'd like to add that we cannot reproduce this on a Windows 10 nor on a MacOS (Sierra) machine, but the build server / CI server, running Windows Server 2012 R2 (x64), on AppVeyor, displays the behaviour described.
negberts commentedon Oct 17, 2016
Indeed the same here. No problems locally on Windows 10.
filipesilva commentedon Oct 17, 2016
Having the same issue here myself. Cannot repro on local win10 machine, but getting error on AppVeyor.
huberchrigu commentedon Oct 18, 2016
Same here. webdriver-manager update works on Unix but fails on Windows due to the undefined options[Opt.GECKO].
didlich commentedon Oct 18, 2016
it's not only on Windoofs but also on Linux, our server is an Ubuntu Precise (12.04)
didlich commentedon Oct 18, 2016
it seems that 32-Bit systems are not supported, see lib/binaries/gecko_driver.ts
it seems that geckodriver has support for 32-Bit beginning with version v0.11.0, but default geckoriver is v0.9.0 as stated in config.json
to support 32-Bit the config.json bust be changed to support the latest geckodriver and "supports" function has to check for 32-Bit and suffixes must include something like Linux32 and Windows_NT32
didlich commentedon Oct 18, 2016
there is also a PR, which solves the problem for people who have 32-Bit ARCH, but don't use geckodriver:
https://github.com/angular/webdriver-manager/pull/105/files
i.e., we use only the chromedriver for testing, which is running fine on linux32, but we have the problem that the error mentioned above prevents the webdriver-manager to finish the update execution, so https://github.com/angular/webdriver-manager/pull/105/files will solve our problem
hampa-git commentedon Oct 18, 2016
I have the same issue on Windows 7 but it's a 64-Bit system.
dustin2524 commentedon Oct 18, 2016
Also reproducible on Windows 7 64bit
Because of the new Chrome v54 requiring the chromdriver 2.24 I thought I needed the latest webdriver-manager version but the below workaround works for me and anyone else who is just trying to get latest chromedriver
Workaround: Use previous webdriver-manager version 10.2.3 and specify the chrome and selenium versions when using webdriver-manager, like so:
webdriver-manager update --versions.chrome=2.24 --versions.standalone=2.53.1IlyaFinkelshteyn commentedon Oct 19, 2016
Another workaround is to use x64 version of node. For Appveyor, please add the following into appveyor.yml.
Thank you,
Ilya.
fix(appveyor): add workaround for webdriver bug
fix(appveyor): add workaround for webdriver bug (#2862)
fix(update): fix undefined gecko getBoolean error
fix(update): fix undefined gecko getBoolean error (#113)
filipesilva commentedon Oct 24, 2016
Thanks for the fix @cnishina!