Selenium Tutorials - 5. Selenium Web Drivers Methods and Locators

preview_player
Показать описание
#vision2020 #aiforeveryone #selenium :

Dear Automation Aspirants,

As a new initaitive , "My Vision is to provide "AIFOREVERYONE", by creating free video courses for Artificial Intelligence ,
Machine Learning, Deep Learning and Data Science Aspirants!"

If you wish to support my #vision2020, kindly Like, Subscribe & Share this knowledge to your friends and colleagues.

Follow Me :

************************************************************
Playlist:

***********************************************************
What is FindElement?
It is the method to locate element on the webpage.
What is By?
By is the mechanism used to locate elements within a document with the help of locator value
What is Locator?
It is an address that identifies a web element uniquely within the web page

*********************
8 Type of Locators
*********************

Id
Name
Linktext
Partial linktext
Xpath
CSS Selector
TagName
ClassName

*******************************************
Рекомендации по теме
Комментарии
Автор

Hi vinod sir...I am glad that I get to see ur videos...It's so easy to understand even the new tool with ur explanation.thanks for that.i am waiting for the complete UFT videos as few topics are missed.please upload it asap.thank you so much and more power to you🤗

swethapoola
Автор

package seleniumDemo;

import org.openqa.selenium.By;
import
import

public class LocatorsExample {

public static void main(String[] args) {
// TODO Auto-generated method stub

System.setProperty("webdriver.chrome.driver",
WebDriver driver = new ChromeDriver();



//Example of Name Locator




// Example of ID Locator


}

}

vinothqaacademy
visit shbcf.ru