Folks, this is driving me crazy. I have snippets like the following
Try using following Css selector:
Actions action = new Actions(drive);
action.moveToElement(drive.findElement( By.cssSelector("label > input[id^='M37_Q_']"))).build().perform();
drive.findElement( By.cssSelector("label > input[id^='M37_Q_']")).click();
Try this,
driver.execute_script("arguments[0].checked = true;",element)
You can also try by sending ENTER
Key to the element.