Hi,
I'm new to Coypu. I'm trying to select "Book" option from the selection item with id="searchDropdownBox" in
http://www.amazon.com/ website. The selection box is located at the top left corner of the page. I tried the following:
browserSession.Select("Books").From("searchDropdownBox");
but it could not locate the element and I received an error.
Later I tried the following
var selenium = ((OpenQA.Selenium.Remote.RemoteWebDriver)browserSession.Native);
SelectElement sel=new SelectElement(selenium.FindElement(By.Id("searchDropdownBox")));
sel.SelectByText("Books");
And it worked. My question is, why browserSession.Select("Books").From("searchDropdownBox") didn't work.
Thanks
Masud