I have problem. I want click button:
<label><input type="radio" name="choose" value="domain" data-dojo-attach-point="focusNode" data-dojo-attach-event="ondijitclick:_onClick" tabindex="0" id="mailbox-new_mailboxChooseDomainInput"> <span data-dojo-attach-point="descriptionNode">Domena</span></label>
I tried:
driver.findElement(By.linkText("Domena")).click();
and
driver.findElement(By.id("mailbox-new_mailboxChooseDomainInput")).click();
but don't work. Please help :)