공부일지

[Python]selenium.common.exceptions.ElementNotInteractableException: Message: element not interactable → send_keys()로 해결하기 본문

Computer/공부정리

[Python]selenium.common.exceptions.ElementNotInteractableException: Message: element not interactable → send_keys()로 해결하기

이르리의 공부일지 2023. 10. 16. 11:06

selenium.common.exceptions.ElementNotInteractableException: Message: element not interactable

 

크롤러에서 발생한 오류이다.

 

.click()  → .send_keys(Keys.ENTER)

하면 해결되는 오류이다.

 

.send_keys를 쓰려면 아래와 같이 import 해주자.

from selenium.webdriver.common.keys import Keys

 

 

 

왜 .click()이 되다가 안 되는지는 차차 알아봐야할 것 같다.

 

 

 

 

 

참고 블로그

 

[selenium] element 클릭이 되지 않을 때: ElementNotInteractableException Message: element not interactable 에러

python selenium 을 이용하여 chorome webdriver 상에서 자동화 코드를 수행하다가 다음과 같은 에러가 발생했습니다. selenium.common.exceptions.ElementNotInteractableException: Message: element not interactable 에러 발생 이

taste-and-investment.tistory.com