콘솔워크

python 셀레니움 특정 url href a 태그 가져오기 본문

프로그래밍/python

python 셀레니움 특정 url href a 태그 가져오기

콘솔워크 2022. 3. 11. 10:00
반응형

document.querySelector로 검색하면 빠름

 

 

driver.find_elements_by_css_selector('a[href*="{url}"][class*="{class_name}"]')

 

반응형