강의

멘토링

커뮤니티

Inflearn Community Q&A

graceha734383141's profile image
graceha734383141

asked

Free Python Course (Usage 4) - Business Automation (RPA)

Selenium Basics 1

elem 후 엔터 時 attribute error 발생

Written on

·

702

0

말씀하신 대로 터미널에서 작업 중에 다음과 같은 에러가 뜹니다.

elem = browser.find_element_by_link_text("카페")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'WebDriver' object has no attribute 'find_element_by_link_text'
>>>

rpa

Answer 1

1

하기 url참고 하여 해결하였습니다

https://stackoverflow.com/questions/72754331/webdriver-object-has-no-attribute-find-element-by-link-text-selenium-scrip

 

browser.find_element("link text", "카페")

 

graceha734383141's profile image
graceha734383141

asked

Ask a question