Running AngularJS Protractor with proxy to https

巧了我就是萌 提交于 2019-11-30 15:17:37
afternoon

According to the WebDriver capabilities documentation, you should use 'hostname:port' as the format for the httpProxy. E.g.:

capabilities: {
  browserName: 'firefox',
  proxy: {
     proxyType: 'manual',
     httpProxy: 'localhost:8443',
     sslProxy: 'localhost:8888'
  }
}

Check your proxy software for the correct port.

This works in Firefox and Chrome.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!