I am tring to get the attribute type="radio" but I'm not sure how to in the selenium webdriver.
I tried by using
if(driver.findElement(By.id("userStatusEnable")).getAttribute("type").equals("radio"))
and also by changing the id to x-auto-210
<div id="userStatusEnable" class="x-form-check-wrap x-form-field x-component " role="presentation" style="position: relative;">
<input id="x-auto-210" class=" x-form-radio" type="radio" name="gxt.RadioGroup.5" style="position: relative; left: 0px; top: 4px;" tabindex="0" value="enabled" aria-describedby="x-auto-190" checked="">
<label class="x-form-cb-label" for="x-auto-210" htmlfor="x-auto-210" style="position: relative; left: 1px; top: 3px;">Enable</label>
</div>
type="radio", or verify an element found with another selector hastype="radio"?