webdriver-manager

Syntax error on webdriver-manager 10.2.9

核能气质少年 提交于 2019-12-06 05:05:59
问题 Post from issue #170: After updating to the newest version, I get the following error on running 'webdriver-manager' command. C:\Users\(user)\AppData\Roaming\npm\node_modules\webdriver-manager\built\lib\cli\logger.js:66 info(...msgs) { ^^^ SyntaxError: Unexpected token ... at exports.runInThisContext (vm.js:53:16) at Module._compile (module.js:373:25) at Object.Module._extensions..js (module.js:416:10) at Module.load (module.js:343:32) at Function.Module._load (module.js:300:12) at Module

selenium webdriver manager update - npm

百般思念 提交于 2019-12-05 23:04:56
I tried to update the selenium webdriver using the "webdriver-manager", but i get the error as, Error: Got error Error: read ECONNRESET from https://selenium-release.storage.googleapis.com/2.48/selenium-server-standalone-2.48.2.jar Error: Got error Error: read ECONNRESET from https://selenium-release.storage.googleapis.com/2.48/selenium-server-standalone-2.48.2.jar fs.js:60 throw err; // Forgot a callback but don't know where? Use NODE_DEBUG=fs ^ Error: EPERM: operation not permitted, unlink 'C:\Users\user_name\AppData\Roaming\npm\node_modules\protractor\selenium\selenium-server-standalone-2

Is `webdriver-manager start` necessary?

こ雲淡風輕ζ 提交于 2019-12-05 10:14:36
I'm delving into the world of Protractor tests for AngularJS. All the tutorials recommend I execute the following after webdriver-manager update and prior to executing the test: webdriver-manager start According to the webdriver-manager man, the start command will 'start up the selenium server'. True enough, once I run the above command, I can see something at http://127.0.0.1:4444/wd/hub My questions is: is the above necessary? I currently run my tests without the above command. All I do is: webdriver-manager update php -S localhost:8000 -t dist/ protractor ./test/protractor.config.js My

Protractor webdriver-manager chromedriver update

给你一囗甜甜゛ 提交于 2019-12-05 05:36:38
There seems to be a issue with chromedriver 2.2 and the newest version of Chrome. This issue has to deal with the protractor not being able to send tab keys with 2.2. If I do webdriver-manager update, it does not update to the chromedriver 2.4. I did a hack where I downloaded chromedriver 2.4 exe myself and manually put it in the selenium folder, but that is not the best way to do this. How do you update protractor to use the latest version of Chromedriver 2.4? I am having the same issue as you. It is related to a new release of chrome 54. You need to wait for the next release of webdriver

Syntax error on webdriver-manager 10.2.9

拜拜、爱过 提交于 2019-12-04 11:30:19
Post from issue #170 : After updating to the newest version, I get the following error on running 'webdriver-manager' command. C:\Users\(user)\AppData\Roaming\npm\node_modules\webdriver-manager\built\lib\cli\logger.js:66 info(...msgs) { ^^^ SyntaxError: Unexpected token ... at exports.runInThisContext (vm.js:53:16) at Module._compile (module.js:373:25) at Object.Module._extensions..js (module.js:416:10) at Module.load (module.js:343:32) at Function.Module._load (module.js:300:12) at Module.require (module.js:353:17) at require (internal/module.js:12:17) at Object. (C:\Users\(user)\AppData

How can I completely avoid webdriver-manager?

橙三吉。 提交于 2019-11-29 16:31:59
I'm trying to use protractor for e2e tests in my Angular project. I previously installed selenium server and chromedriver in my path and it works fine for non-angular projects. I do not have access to googleapis or any of the alternate cdns required by webdriver-manager. How can I run protractor tests w/o involving webdriver-manager in any way? I want to use the tools I have installed globally. Is this a possibility? When I try to run the ng e2e I get the error: Error message: Could not find update-config.json. Run 'webdriver-manager update' to download binaries. When I try to run webdriver

When using Protractor 5.4.2, webdriver-manager downloads 2.46 which is not compatible with Chrome 74

大憨熊 提交于 2019-11-29 15:29:07
Protractor 5.4.2 uses webdriver-manager 12 which downloads Chromedriver 2.46. Chromedriver 2.46 supports Chrome 71-73 (see http://chromedriver.chromium.org/downloads ). We need to download Chromedriver 74.0.3729.6. I also see that there is a webdriver-manager@13 that supports this. Should I use it with Protractor 5.4.2? webdriver-manager@12.1.4 is fixed webdriver-manager released 12.1.4 which will download a max ChromeDriver version of 74. How to get it? do a fresh install of your node modules directory (remove node_modules folder and do a npm install ) do a forced install npm install -f If

Protractor in STS IDE -> Could not find update-config.json

喜夏-厌秋 提交于 2019-11-29 01:10:36
Currently I have Protractor v.5.1.1, Node.js v.6.10.0 All protractor tests work in window console but when I try to run them from STS IDE I get below error. Of course i did 'webdriver-manager update' but it doesn't help at all. Does anyone has an idea how to resolve this problem? Below the error respectively when I use or do not 'directConnect' [22:21:48] I/launcher - Running 1 instances of WebDriver [22:21:48] I/direct - Using ChromeDriver directly... [22:21:48] E/direct - Error code: 135 [22:21:48] E/direct - Error message: Could not find update-config.json. Run 'webdriver-manager update' to

How can I completely avoid webdriver-manager?

有些话、适合烂在心里 提交于 2019-11-28 11:08:08
问题 I'm trying to use protractor for e2e tests in my Angular project. I previously installed selenium server and chromedriver in my path and it works fine for non-angular projects. I do not have access to googleapis or any of the alternate cdns required by webdriver-manager. How can I run protractor tests w/o involving webdriver-manager in any way? I want to use the tools I have installed globally. Is this a possibility? When I try to run the ng e2e I get the error: Error message: Could not find

Protractor in STS IDE -> Could not find update-config.json

*爱你&永不变心* 提交于 2019-11-27 14:26:00
问题 Currently I have Protractor v.5.1.1, Node.js v.6.10.0 All protractor tests work in window console but when I try to run them from STS IDE I get below error. Of course i did 'webdriver-manager update' but it doesn't help at all. Does anyone has an idea how to resolve this problem? Below the error respectively when I use or do not 'directConnect' [22:21:48] I/launcher - Running 1 instances of WebDriver [22:21:48] I/direct - Using ChromeDriver directly... [22:21:48] E/direct - Error code: 135