@dockyvche

  • 홈
  • 태그

데이터 분석/selenium 1

[selenium 오류] stale element reference: element is not attached to the page document

상황 : selenium으로 select tag option 선택 바꾸기 1. select 태그를 찾고, 2. 자식 요소들(option)의 value 값을 list로 만들어 확인 sigungu_list_raw = driver.find_element_by_id('SIGUNGU_NM0') opt_list = sigungu_list_raw.find_elements_by_tag_name('option') gu_names = [opt.get_attribute('value') for opt in opt_list] len(gu_names) 3. `send_keys()`로 select 태그에 보낸다 sigungu_list_raw.send_keys(gu_names[10]) 오류 메세지 Message: stale elem..

데이터 분석/selenium 2021.01.27
1
더보기
프로필사진

  • ALL (53)
    • 블록체인 (5)
      • 뉴스 (1)
    • 데이터 분석 (41)
      • SQL (36)
      • python (4)
      • selenium (1)
    • 마케팅 (2)
      • google analytics (2)
    • 비전공자의 개발 독학 (1)
    • 기타 (1)
    • 창업 (2)

Tag

google analytics 4, GA4, 개발 강의, PostgreSQL, Python, ITAM CUBE, SQL, select distinct, postgresl, 비전공자, zip 함수, 해외 거래소 이용 방법, 데이터 분석, 데이터분석, 개발독학, 독학, 코딩 인강, anaconda3 오류, 김버그, psotgreSQL,

최근글과 인기글

  • 최근글
  • 인기글

Archives

Copyright © Dockyum. All rights reserved.

티스토리툴바