Checking boxes with Selenium

Does anyone know what I'm doing wrong? I've tried finding the element and clicking it but get an error that the element isn't interactable. I have also tried executing a script that would check the boxes and the actor will succeed in running but after looking at the screenshot no checkboxes were checked. Any help in the right direction is appreciated.

Here's the code that gets the error of element not interactable:
checkboxes = driver.find_elements(By.XPATH, "//input[@type='checkbox']")
for checkbox in checkboxes:
    if not checkbox.is_selected():
        checkbox.click()

Here's the code that runs but does nothing:
checkboxes = driver.find_elements(By.XPATH, "//input[@type='checkbox']")
for checkbox in checkboxes:
    if not checkbox.is_selected():
        driver.execute_script("arguments[0].click();", checkbox)
Was this page helpful?