Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/google-chrome/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Google chrome 编码的UI跨浏览器在Chrome/Firefox中不起作用_Google Chrome_Cross Browser_Coded Ui Tests - Fatal编程技术网

Google chrome 编码的UI跨浏览器在Chrome/Firefox中不起作用

Google chrome 编码的UI跨浏览器在Chrome/Firefox中不起作用,google-chrome,cross-browser,coded-ui-tests,Google Chrome,Cross Browser,Coded Ui Tests,我使用BrowserWindow.CurrentBrowser=“Chrome”(“firefox”)在Chrome(firefox)中运行测试用例,并且还安装了“跨浏览器Selenium组件”。 但是我在下面的语句中遇到了错误“BrowserWindow.Launch(new System.Uri(DevicesCenterURL)) 它将启动带有数据的chrome浏览器;在地址栏中,并在命令行中显示,如下所示 “正在端口25278上启动ChromeDriver 只允许本地连接” 请找到附件中

我使用BrowserWindow.CurrentBrowser=“Chrome”(“firefox”)在Chrome(firefox)中运行测试用例,并且还安装了“跨浏览器Selenium组件”。 但是我在下面的语句中遇到了错误“BrowserWindow.Launch(new System.Uri(DevicesCenterURL))

它将启动带有数据的chrome浏览器;在地址栏中,并在命令行中显示,如下所示 “正在端口25278上启动ChromeDriver 只允许本地连接”

请找到附件中的图片

我使用的是vs 2013和Selenium 2.43.1

有什么办法吗?你能告诉我正确的方法吗


提前感谢。

您是否已按此处所述解除对DLL的阻止。有时,这会在执行测试用例时造成很大的痛苦