Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/.net/25.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
C# Selenium打开firefox并停止所有进程_C#_.net_Firefox_Selenium_Selenium Rc - Fatal编程技术网

C# Selenium打开firefox并停止所有进程

C# Selenium打开firefox并停止所有进程,c#,.net,firefox,selenium,selenium-rc,C#,.net,Firefox,Selenium,Selenium Rc,我正在使用selenium和c#.NET4.0在firefox上自动化一个进程: firefox打开,然后什么也没发生。它不会导航到请求的页面 这是它的样子。我做错了什么?使用IE时一切正常 要导航到请求的页面,需要使用以下代码 Selenium不会自动导航到页面或基本url,除非调用 selenium.open(" < your url goes here > "); selenium.open(); 示例:selenium.open(“https://mail.google.

我正在使用selenium和c#.NET4.0在firefox上自动化一个进程:

firefox打开,然后什么也没发生。它不会导航到请求的页面

这是它的样子。我做错了什么?使用
IE时一切正常


要导航到请求的页面,需要使用以下代码

Selenium不会自动导航到页面或基本url,除非调用

selenium.open(" < your url goes here > ");
selenium.open();

示例:
selenium.open(“https://mail.google.com");

非常感谢您的帮助。这是一个很好的观点,我应该包括我的代码的其余部分,以向您展示我已经做到了这一点。我更新了我的问题,你尝试了火狐5标准版,或者3.6XI将在22小时内奖励奖金,我可以尽快!
selenium.open(" < your url goes here > ");