Selenium 学习笔记。

第一部分: how to integrate Selenium WebDriver with Visual Studio 2010

1 Open Package Manager Console(http://docs.nuget.org/docs/start-here/using-the-package-manager-console)

Tools->Library Package Manager

input the command below:

Install-Package Selenium.WebDriver

2 There are some reasons though to use the Selenium-Server with Selenium-WebDriver.

  • You are using Selenium-Grid to distribute your tests over multiple machines or virtual machines (VMs).
  • You want to connect to a remote machine that has a particular browser version that is not on your current machine.
  • You are not using the Java bindings (i.e. Python, C#, or Ruby) and would like to use HtmlUnit Driver
posted @ 2012-07-31 20:51  xiaoshiyilang  阅读(272)  评论(1编辑  收藏  举报