This is a simple Selenium automation script written in Java that opens Amazon.in, performs a search for Bluetooth Earphones, and prints the resulting page title. It demonstrates basic automation using Selenium WebDriver without any frameworks.
- Java
- Selenium WebDriver
- ChromeDriver
com.selenium.project
└── AmazonSearchTest.java
- Clone this repo or download the file.
- Open in Eclipse or IntelliJ.
- Ensure you have the correct
chromedriver.exepath. - Run the
AmazonSearchTest.javafile.
- Browser automation basics
- Working with web elements
- Locating elements using
id - Performing a basic search operation
Page Title After Search: Amazon.in : Bluetooth Earphones
Moukthika Pasumarthi
QA Engineer | Automation Learner
LinkedIn | GitHub