0w0

[selenium] selenium 참조, 자주사용되는 메소드 및 API 본문

Coding/Python

[selenium] selenium 참조, 자주사용되는 메소드 및 API

0w0 2019. 8. 10. 05:28
728x90
반응형

-참조

https://selenium-python.readthedocs.io/index.html

 

Selenium with Python — Selenium Python Bindings 2 documentation

Note This is not an official documentation. If you would like to contribute to this documentation, you can fork this project in Github and send pull requests. You can also send your feedback to my email: baiju.m.mail AT gmail DOT com. So far 40+ community

selenium-python.readthedocs.io

-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
반응형
Comments