0w0
[selenium] selenium 참조, 자주사용되는 메소드 및 API 본문
728x90
반응형
-참조
https://selenium-python.readthedocs.io/index.html
-selenium DOM 메소드
*Single elements
find_element_by_id
find_element_by_name
find_element_by_xpath
find_element_by_link_text
find_element_by_partial_link_text
find_element_by_tag_name
find_element_by_class_name
find_element_by_css_selector
*Multiple elements
find_elements_by_name
find_elements_by_xpath
find_elements_by_link_text
find_elements_by_partial_link_text
find_elements_by_tag_name
find_elements_by_class_name
find_elements_by_css_selector
-selenium Webdriver API
clear()
click()
get_attribute(name)
is_displayed()
is_enabled()
is_selected()
screenshot(filename)
send_keys(value)
submit()
value_of_css_property(name)
id
location
parent
rect
screenshot_as_base64
screenshot_as_png
size
tag_name
text
728x90
반응형
'Coding > Python' 카테고리의 다른 글
[selenium] zzzscore.com/color/ 솔랑솔랑 (0) | 2019.08.14 |
---|---|
[selenium] zzzscore.com/1to50/ 솔랑솔랑 (0) | 2019.08.13 |
[selenium] CLI, GUI (백그라운드, 포그라운드) (0) | 2019.08.10 |
[selenium] iframe....... (1) | 2019.08.10 |
[selenium] 티스토리 자동 로그인 및 자동 posting, iframe접근 (5) | 2019.08.10 |
Comments