in src/main/java/platform/qa/officer/pages/TaskPage.java [167:177]
public void checkCheckBox(String fieldName, String fieldData) {
By checkBox = xpath(format(checkboxInputPath, fieldName));
wait.until(presenceOfElementLocated(checkBox));
if (fieldData.equalsIgnoreCase("так")) {
wait.until((ExpectedCondition<Boolean>) driver ->
requireNonNull(driver)
.findElement(checkBox)
.isEnabled());
driver.findElement(checkBox).click();
}
}