checkboxes = driver.find_elements(By.Name, 'xxx')
for checkbox in checkboxes:
if checkbox.is_selected(): #체크된 상태라면?
checkbox.click() #해제
'Python' 카테고리의 다른 글
pandas string find method (문자 찾기) (2) | 2023.03.25 |
---|---|
python winsound beep 소리 내기 (4) | 2023.02.04 |
Python selenium element finding ways (2) | 2023.01.25 |
정규식 연습하기 좋은 사이트 (5) | 2022.12.12 |
pandas index 반환 (5) | 2022.07.30 |
댓글