티스토리 뷰

Only the following pseudo-classes are implemented: nth-of-type.

위 에러 발생 시, 해결 방법


selenium에서는 구글 크롬 개발자도구에서 셀렉터 카피에서 나오는 child 선택자인 nth-child 를 지원하지 않는다.

하여, nth-of-type 로 쓰면 매우 잘 된다.


아래 글에 있는 p + p + p 방식을 써도 매우 잘된다.


#참조

https://stackoverflow.com/questions/24720442/selecting-second-child-in-beautiful-soup-with-soup-select

댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2025/04   »
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30
글 보관함