Покажите пример вашего java кода, чтобы мы могли вам помочь.
Или попробуйте, как показано в примере:
driver.findElement(By.id("__p3id")).isSelected;
Кроме того. Попробуйте это:
//Driver initialized by Chrome browser driver
WebDriver driver = new ChromeDriver();
//Creating wait driver. In constructor we passing WebDriver by the first parameter
// and max time to wait in seconds by the second parameter
WebDriverWait wait = new WebDriverWait(driver, 5);
//Loading URL
driver.get("Your URL");
//Finding checkBox WebElement by id
WebElement resiCheckbox = driver.findElement(By.id("__p3id"));
//Waiting element to be clickable (max time to wait = 5 sec)
wait.until(ExpectedConditions.elementToBeClickable(resiCheckbox));
//Clicking if checkBox toggled off
if(!resiCheckbox.isSelected())
resiCheckbox.click();