우리는 AngularJS 각도기 테스트를 실시했습니다.SessionNotCreatedError : 새 서비스를 만들 수 없음 : ChromeDriverService
:$ npm install
$ webdriver-manager update --ie32 --ignore_ssl
$ gulp
제가하는 데 문제는이 설정 내 팀하지만 100 %의 시간에 다른 사람을위한 일이다 나는이 오류가 : 프로세스 설정하고 다음 단계를 순서대로 실행하는 것입니다
[11:42:33] I/local - Starting selenium standalone server...
[11:42:36] I/local - Selenium standalone server started at http://10.222.189.129:55574/wd/hub
/path/to/repo/node_modules/selenium-webdriver/lib/error.js:27
super(opt_error);
^
SessionNotCreatedError: Unable to create new service: ChromeDriverService
Build info: version: '3.5.3', revision: 'a88d25fe6b', time: '2017-08-29T12:54:15.039Z'
System info: host: 'xxxx', ip: 'xxxx', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.12.6', java.version: '1.8.0_131'
Driver info: driver.version: unknown
at WebDriverError (/path/to/repo/node_modules/selenium-webdriver/lib/error.js:27:5)
at SessionNotCreatedError (/path/to/repo/node_modules/selenium-webdriver/lib/error.js:214:5)
at Object.checkLegacyResponse (/path/to/repo/node_modules/selenium-webdriver/lib/error.js:505:15)
at parseHttpResponse (/path/to/repo/node_modules/selenium-webdriver/lib/http.js:509:13)
at doSend.then.response (/path/to/repo/node_modules/selenium-webdriver/lib/http.js:440:13)
at process._tickCallback (internal/process/next_tick.js:103:7)
From: Task: WebDriver.createSession()
at Function.createSession (/path/to/repo/node_modules/selenium-webdriver/lib/webdriver.js:777:24)
at Function.createSession (/path/to/repo/node_modules/selenium-webdriver/chrome.js:709:29)
문제는 내 설정과 관련이 있지만 잃어 버렸으므로 누군가에게 도움이되기를 바란다면 Hail Mary를 던지십시오.
추가 정보가 필요하면 알려주십시오. 미리 감사드립니다. 나는 이것을 작동 시키려고 많은 시간을 낭비했습니다!
크롬 드라이버에는 실제 Chrome 브라우저가 설치되어 있어야합니다. 크롬 브라우저를 업그레이드하십시오. 또한 셀레늄 허브에서 수동으로 크롬 세션을 시작할 수 있습니까? 즉, 'webdriver-manager start'를 실행 한 다음 http : // localhost : 4444/wd/hub에서 허브 포털을 실행하십시오 (또는 지금까지 구성한 경우) , Create Session -> Chrome을 클릭하십시오. – HaC