我正在使用Selenium的C#绑定并尝试在Microsoft Edge中进行简单的自动化测试.
class Program
{
static void Main(string[] args)
{
EdgeOptions options = new EdgeOptions();
options.PageLoadStrategy = EdgePageLoadStrategy.Eager;
RemoteWebDriver driver = new EdgeDriver();
driver.Url = "http://bing.com/";
}
}
Run Code Online (Sandbox Code Playgroud)
但程序停止了EdgeDriver的初始化,边缘浏览器启动但网址永远不会改为"bing.com".
还有其他人经历过这个吗?