# with contains, look for the page where the Style property value contains all the DIV elements with the keyword sp.gif, where the @ can be followed by any property name of the element.
Self.driver.find_element_by_xpath ('//div[contains (@style, "Sp.gif")] '). Click ()
# with Start-with, look for a DIV element with the style attribute starting with position, where the @ can be followed by any property name of the element.
Self.driver.find_element_by_xpath ('//div[start-with (@style, "position")] '). Click ()
# with text, directly find all of the page exit two words, often used for the search of plain text.
Self.driver.find_element_by_xpath ('//*[text () = "Exit"]). Click ()
# used to know some or all of the text information displayed on a hyperlink
Self.driver.find_element_by_xpath ('//a[contains (text (), ' exit ')] '). Click ()
Using Python to deal with the problem of fuzzy matching of XPath positioned elements in selenium