Unsupported command-line flag: --ignore-certificate-errors

后端 未结 6 514
無奈伤痛
無奈伤痛 2020-12-29 08:51

Using Python 2.7.5, python module selenium (2.41.0) and chromedriver (2.9).

When Chrome starts it displays a message in a yellow popup bar: \"You are using an unsupp

6条回答
  •  感动是毒
    2020-12-29 09:28

    you can use the following flag --test-type

                var options = new ChromeOptions();
                options.AddArguments(new[] {
                    "--start-maximized",
                    "allow-running-insecure-content", 
                    "--test-type" });
    
                return new ChromeDriver(options);
    

提交回复
热议问题