摘要: 1 Fetching a Pagedriver.Url = "http://www.google.com";2 Locating UI Elements (WebElements)¶By ID¶This is the most efficient and preferred way to locate an element. Common pitfalls that UI developers make is having non-unique id’s on a page or auto-generating the id, both should b 阅读全文
posted @ 2012-07-31 21:03 xiaoshiyilang 阅读(2250) 评论(0) 推荐(0) 编辑
摘要: 第一部分: how to integrate Selenium WebDriver with Visual Studio 20101 Open Package Manager Console(http://docs.nuget.org/docs/start-here/using-the-package-manager-console)Tools->Library Package Managerinput the command below:Install-Package Selenium.WebDriver2 There are some reasons though to use th 阅读全文
posted @ 2012-07-31 20:51 xiaoshiyilang 阅读(274) 评论(1) 推荐(0) 编辑