3

I am trying to install Protractor on the companies Windows laptop. One of the steps is to run webdriver-manager update command in the console. When running it, i am getting the following error. Do you know how can i bypass the error?

webdriver-manager update
events.js:163
      throw er; // Unhandled 'error' event
      ^

Error: unable to get local issuer certificate
    at TLSSocket.<anonymous> (_tls_wrap.js:1084:38)
    at emitNone (events.js:86:13)
    at TLSSocket.emit (events.js:188:7)
    at TLSSocket._finishInit (_tls_wrap.js:606:8)
    at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:436:38)

3 Answers3

5

I had a similar issue. I ran the following:

webdriver-manager update --ignore_ssl=true

Then I re-ran my protractor script and everything worked.

derloopkat
  • 6,232
  • 16
  • 38
  • 45
agraef
  • 51
  • 1
  • 2
1

I found out later that office WebSense was blocking the execution of the file. I went home and i was able to run it in my home internet.

1

c:>webdriver-manager start --ignore_ssl

should work for you

suresh
  • 11
  • 1