Back to Browse

X-path, CSS selector -Locators in Selenium Webdriver | Selenium Automation Testing #Part3- Malayalam

3.3K views
Sep 23, 2022
41:33

Locating elements in Selenium WebDriver is performed with the help of findElement() and findElements() methods provided by WebDriver and WebElement class. 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 ID locator in Selenium is the most preferred and fastest way to locate desired WebElements on the page. ID Selenium locators are unique for each element in the DOM. Since IDs are unique for each element on the page, it is considered the fastest and safest method to locate elements More Videos Manual Testing : https://youtube.com/playlist?list=PLNJho6oGX0KP2myzZK7b93N3UNSXHH5rw Java Tutorials: https://youtube.com/playlist?list=PLNJho6oGX0KP4L1FXVbH2zrk2s0OQrk54 Selenium Automation testing :https://youtube.com/playlist?list=PLNJho6oGX0KMiTzDs9fYqYn-1Jgh8ep9O

Download

1 formats

Video Formats

360pmp463.4 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

X-path, CSS selector -Locators in Selenium Webdriver | Selenium Automation Testing #Part3- Malayalam | NatokHD