selenium 2 - C# SelectElement not selecting in Chrome -
i'm using following code in c# select value in dropdown list:
new selectelement(driver.findelement(by.name("element"))).selectbyindex(2);
this works firefox , ie8 not chrome, nothing gets selected. there know issues selectelement? alternatives work in chrome?
i'm using standalone server 2.0rc3 , chrome 12
this known issue chrome driver. iwebelement.select() , .toggle() methods deprecated in 2.0rc3, requiring use .click() instead. selectelement support class updated handle change; however, chromedriver.exe (which built , provide chromium team) has yet catch up. using iwebelement.click() on element doesn't yet work in chrome.
Comments
Post a Comment