셀레니움1 [셀레니움 오류] AttributeError: 'WebDriver' object has no attribute 'find_element_by_css_selector' 오류해결 파이썬에서 selenium을 써서 크롤링을 할 때 아래와 같이 find_element_by_css_selector을 쓰면 오류가 나오는 경우가 있다. enter_btn = wd.find_element_by_css_selector("#menu2091_obj16 > form > div > div > div._areaButton > div > span > input[type=submit]").click() (참고로 wd는 웹 드라이버 변수명이다.) AttributeError: 'WebDriver' object has no attribute 'find_element_by_css_selector' 이 오류는 말 그대로 WebDriver에 'find_element_by_css_selector' 라는 함수가 없기 때.. 2022. 6. 27. 이전 1 다음