반응형
예) some_element 의 상위 태그 중 a 태그를 찾음
some_element.find_element_by_xpath('ancestor::a')
일단 여기까지, 나중에 정리..
728x90
반응형
'Python' 카테고리의 다른 글
| [Selenium] Scroll to Element (0) | 2023.08.12 |
|---|---|
| [selenium] 선택된 노드의 바로 아래 자식 노드만 가져오기 (0) | 2023.08.06 |
| [selenium] element click intercepted exception in python (0) | 2023.08.04 |
| [selenium] move to bottom (scroll down) (0) | 2023.08.03 |
| Mac 에서 다운받은 ChromeDriver 를 권한 문제로 실행할 수 없을 때 (0) | 2023.08.03 |
댓글