尝试运行Protractor时,我在命令行中收到以下错误:
>致命错误:量角器退出代码:1
我需要代理到https测试服务器.我该如何做到这一点?我按照这个Github问题的建议,但我仍然得到上述错误.这是我的配置文件:
// A reference configuration file.
exports.config = {
// ----- How to setup Selenium -----
//
// There are three ways to specify how to use Selenium. Specify one of the
// following:
//
// 1. seleniumServerJar - to start Selenium Standalone locally.
// 2. seleniumAddress - to connect to a Selenium server which is already
// running.
// 3. sauceUser/sauceKey - to use remote Selenium servers via SauceLabs.
// The location of the selenium …Run Code Online (Sandbox Code Playgroud)