C#Selenium ChromeDriver:无法启动子进程

时间:2017-03-06 11:37:52

标签: c# selenium selenium-chromedriver

问题:Chrome驱动程序对我不起作用。 我在Visual Studio和Selenium 3.2.0中使用C#。

我使用的代码:

    string driverPath = Environment.CurrentDirectory + @"\x32";
    driver = new ChromeDriver(driverPath);

会发生什么: Chrome启动,但在选项卡上我有悲伤的脸,窗口的灰色区域。 在控制台中我看到以下错误:

  

在端口30235上启动ChromeDriver 2.27.440174仅限本地连接   被允许。错误:child_process_launcher.cc< 522>无法启动   儿童过程

最后一次重复几次。 过去有没有人面对这样的问题?

0 个答案:

没有答案