Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

1. Create the following form in HTML using id or name attribute.

2. Write a selenium code using java or python to fill all the details in the form and click the submit
button.
3. Download and install “ChroPath” chrome extension using chrome web store.

4. Open “gmail” login page then right click and inspect.


5. Use the “chropath” tab in the following way:
Example of using Xpath

driver.findElement(By.xpath("//input[@id='usernamereg-firstName']")).sendKeys("Your-
Name");

6. Demonstrate the gmail login using xpath.

You might also like