Selenium Tutorials - 7. CSS Selector, ClassName and TagName Locators with example

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:

***********************************************************
Agenda:
1. CSS Selector
2. ClassName
3. TagName
Рекомендации по теме
Комментарии
Автор

Class Name Locator Code :
package seleniumDemo;

import org.openqa.selenium.By;
import
import

public class Locators {

public static void main(String[] args) {
// TODO Auto-generated method stub
System.setProperty("webdriver.chrome.driver",
WebDriver driver = new ChromeDriver();

// Launch and maximize the application


//Example of ClassName Locator





}

}

vinothqaacademy
Автор

CSS Selector Locator Code :

package seleniumDemo;

import org.openqa.selenium.By;
import
import

public class CSSLocators {

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

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

// Launch and maximize the application


// Example of CSS Selector Locator
Rathinam Tutorials");

//Click on Search Button


}

}

vinothqaacademy
Автор

Tag Name Locator Code
package seleniumDemo;

import org.openqa.selenium.By;
import
import

public class TagName {

public static void main(String[] args) {
// TODO Auto-generated method stub
System.setProperty("webdriver.chrome.driver",
WebDriver driver = new ChromeDriver();

// Launch and maximize the application


// Example of Tag Name Locator


}

}

vinothqaacademy
Автор

Thank you sir, very informative video to learn CSS Selector. These days I am hearing a lot about SelectorsHub CSS Selector tool, hows that tool sir?

testtesting