Locators in Selenium
By CSS ID: find_element_by_id
By CSS class name: find_element_by_class_name
By name attribute: find_element_by_name
By DOM structure or xpath: find_element_by_xpath
By link text: find_element_by_link_text
By partial link text: find_element_by_partial_link_text
By HTML tag name: find_element_by_tag_name
By CSS class name: find_element_by_class_name
By name attribute: find_element_by_name
By DOM structure or xpath: find_element_by_xpath
By link text: find_element_by_link_text
By partial link text: find_element_by_partial_link_text
By HTML tag name: find_element_by_tag_name
Comments
Post a Comment