c# - WebElement (Radio Button List) cannot be found in Internet Explorer -


i have webelement in cannot found in ie 10 works in ff 47.1 , chrome 51.

[findsby(how = how.xpath, using = "foo's xpath")] iwebelement foo = null; 

at runtime have called

wait.until(expectedconditions.elementtobeclickable(by.xpath("foo's xpath"))); 

but receiving nullreferenceexception ie10 only. have tried sleep well. can please advise me else can b/c program has run ie.

as of time question asked have upgraded ie 11 still seeing exact same issue. can't provide specific html code want elaborate little on webelement foo.

the radio button have called "foo" wrapped in following

div    table     tbody       tr        td         input id = "foo" 

when call xpath (i have tried id , css selector well)

.//*[@id='foo_rblargtype_4'] 

the application defaults 1st value of radio buttons , can't seem select 4th value need. can offer advice or suggestions of else can try?

depending of elements siblings can have selectors like:

//tr[4]//*[contains(@id, 'foo')]  //td[4]/*[contains(@id, 'foo')]  //*[contains(@id, 'foo')][4] 

you can use entire id if not changing replacing [contains(@id, 'foo')] [@id='foo']

if none of working please provide structure 4 inputs.


Comments