Python7 Python selenium element finding ways python element finding method:css를 이용하면 쉽게 찾을 수 있다. text 일부면, *=를 사용하고, full text의 경우, =만 사용하면 된다. driver.find_element(By.XPATH, f'//td[contains(text(), "인증번호")]/following-sibling::td').textdriver.find_element(By.XPATH, f'//태그명[contains(text(), "포함텍스트")]/following-sibling::타겟태그명').text https://hogni.tistory.com/113 파이썬 Selenium을 이용해서 특정 요소의 부모 요소 선택하기파이썬 셀레니움을 이용해서 웹사이트를 제어하는 일을 생각해보면, 바로바로.. 2023. 1. 25. Python .exe 실행 파일 만들기 pyinstaller 를 사용. pyinstaller -F {파일명}.py 하면 dist 폴더에 실행 파일이 저장 된다. -F : 한 파일에 모두 compile/저장하는 옵션 2022. 7. 3. 파이썬 참고 사이트 https://www.inflearn.com/course/%EB%82%98%EB%8F%84%EC%BD%94%EB%94%A9-%ED%8C%8C%EC%9D%B4%EC%8D%AC-%EA%B8%B0%EB%B3%B8# https://openpyxl.readthedocs.io/en/stable/index.html https://ybworld.tistory.com/102 https://ybworld.tistory.com/24 https://ybworld.tistory.com/124?category=936724 추천 https://book.coalastudy.com/data-crawling/week-5/stage-2 https://stackoverflow.com/questions/39574991/how-to-detec.. 2022. 1. 6. 이전 1 2 다음