1.driver.find_element_by_id('su')
Positioning the element id id is only generally, it can be precisely positioned to the element
2.driver.find_element_by_name()
To locate an element by element name
3.driver.find_element_by_class_name()
Positioned by the class attribute element
4.driver.find_element_by_link_text()
To position elements by text link
5.driver.find_element_by_partial_link_text()
To position elements by partial text link
6.driver.find_element_by_tag_name()
To locate elements by tag name, such as the link label <a> </a>
7.driver.find_element_by_xpath
By locating element xpath, comparing universal targeting
8.driver.find_element_by_css_selector()
Css is positioned by the selector element
Navigate to the elements can be assigned to a variable, then the elements do something
a = driver.find_element_by_id('su')
print (a.text) printing text format
print (a.tag name) to print the label name
print (a.get_attribute ( 'herf')) Gets the value of a certain attribute