selenium 오류

화이팅·2023년 1월 12일
0

eda

목록 보기
4/29
  1. list' object has no attribute 'click'
    : driver.find_elements_find_all()로 했을 때 오류
    element로 바꾸면 해결

  2. stale element reference: element is not attached to the page document
    해결 : time.sleep(0.5)

  3. ResultSet object has no attribute 'text'. You're probably treating a list of elements like a single element. Did you call find_all() when you meant to call find()?

내가 쓴 답 : contents[0](('dt').text
해결: contents[0].select_one('dt').text

profile
하하...하.

0개의 댓글