Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

class Main { public static void main(String[] args) { // Create CSS locators for the following web elements on bbb.testpro.io: // 1. email address field

class Main { public static void main(String[] args) {

// Create CSS locators for the following web elements on bbb.testpro.io:

// 1. email address field

// 2. submit button

// 3. logout button

// 4. Search field

// 5. Favorites list(located on the homepage in Playlist block )

// ==============================================================

// Remember to check your locators to meet the following criteria:

// 1. It must be unique

// 2. it should be short (avoid absolute paths and long locators)

// 3. Do not use any plugins to generate locators for you.

String emailFieldLocator = "";

String submitButtonLocator = "";

String logoutButtonLocator = "";

String searchFieldLocator = "";

String favoritesLocator = "";

System.out.println("Locator for email is: " + emailFieldLocator);

System.out.println("Locator for submit button is: " + submitButtonLocator);

System.out.println("Locator for logout button is: " + logoutButtonLocator);

System.out.println("Locator for search field is: " + searchFieldLocator);

System.out.println("Locator for favorites is: " + favoritesLocator); } }

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

SQL Server Query Performance Tuning

Authors: Sajal Dam, Grant Fritchey

4th Edition

1430267429, 9781430267423

More Books

Students also viewed these Databases questions

Question

=+ Does this site have scientific, medical, or legal advice?

Answered: 1 week ago