Using selenium.Select in Webdriver 

Here is the Selenium RC code for selenium.Select in Webdriver. This code is in Visual Studio C#

public void Select(string xpath, string value)
{
driver.FindElement(By.XPath(xpath+"/option[.='"+value+"']")).Click();
}


Author: Pavandeep Puddupakkam on December 9, 2011
Category: Selenium RC, WebDriver
Tags: , ,

Leave a Reply

Last articles