硒中的铬和电子

时间:2017-05-12 12:05:13

标签: c# selenium-webdriver electron selenium-chromedriver

在网络的其他地方我见过这种使用Chromium Webdriver检查和测试电子应用程序的解决方案

ChromeOptions eApp = new ChromeOptions()
eApp.BinaryLocation = _FullBinaryPath;
eApp.AddArgument(_BinaryPath");           
RemoteWebDriver _rwd = new ChromeDriver(eApp);

但我收到了消息

Result Message: System.InvalidOperationException : session not created exception
from disconnected: received Inspector.detached event

我所看到的可能是开放控制台被打开引起的 - 但我不认为这是在这里打开的。有没有什么可以提供有关这种方法的任何指示,更有用的是这个错误意味着什么。我觉得只使用光谱会变得更容易,但我想先看看我已经知道的技术。

0 个答案:

没有答案