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

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -