Welcome to the selenium-automation-learning-path repository! This project is designed to provide current training and tutorials on Selenium, a powerful tool for web automation. This repository includes code samples, exercises, and documentation to help users get started with Selenium and improve their automation skills.
- 💡 Introduction
- 📥 Installation
- ⚙️ Usage
- ✨ Features
- 📦 Dependencies
- 🔧 Configuration
- 📚 Documentation
- 💡 Examples
- 🛠️ Troubleshooting
- 👥 Contributors
- 🤝 Contributing
- 📜 License
- Open IntelliJ IDEA.
- Select File > New > Project from Version Control.
- Enter the repository URL:
https://github.com/cihat-kose/selenium-automation-learning-path.git
and click Clone. - Ensure you have JDK installed on your system:
- Go to File > Project Structure > Project and ensure the Project SDK is set to the correct JDK version.
- Add the required dependencies using Maven:
- Go to File > Project Structure > Libraries.
- Click the + icon, select From Maven.
- Add the following Maven artifacts:
org.seleniumhq.selenium:selenium-java:latest
commons-io:commons-io:latest
org.slf4j:slf4j-nop:latest
- Open the project in IntelliJ IDEA.
- Locate the test cases in the appropriate directory provided.
- Run the test cases.
- Customize the test cases as needed to suit your testing requirements.
- Comprehensive Selenium training material.
- Sample test cases and examples.
- Basic HTML tutorials.
- 14-day structured learning plan.
- Java JDK: 11 or newer (tested on 21.0.6)
- Selenium WebDriver: 4.31.0
- JUnit: 4.13.1 (comes bundled with Java setup in most IDEs)
- Commons IO: 2.11.0
- SLF4J NOP: 1.7.30
Since there is no pom.xml
file, ensure you manually add all the necessary dependencies using Maven as described above.
Each section of this repository is documented to provide clear and concise information on how to effectively use Selenium for web automation.
Example test cases are located in the provided test directory. These examples demonstrate how to use Selenium WebDriver for various web automation tasks.
ℹ️ Note on wait methods:
In some examples, you might notice the use of static waits (e.g.,MyFunction.wait(5)
orThread.sleep()
).
These are used only for demonstration and visual confirmation purposes.
In real-world automation, always prefer explicit waits, such asWebDriverWait
, for proper synchronization and reliability.
If you encounter any issues:
- Ensure that Selenium WebDriver is properly installed and operational. Check that extensions and drivers (such as ChromeDriver or GeckoDriver) are up to date.
- Make sure your Java environment is correctly set up for Selenium and other dependencies.
- Ensure that your IntelliJ IDEA and other development tools are configured according to the project's requirements.
- If you are experiencing issues with dependencies, check your Maven configurations and ensure that the necessary libraries are properly included in your project.
- If problems persist, open an issue on the GitHub repository. Try to describe your problem in as much detail as possible so that you can receive help more quickly.
If you encounter any issues, please open an issue on the GitHub repository.
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Commit your changes (
git commit -m 'Add new feature'
). - Push to the branch (
git push origin feature-branch
). - Create a Pull Request.
This project is licensed under the MIT License. See the LICENSE file for more details.
For more information, visit the selenium-automation-learning-path GitHub repository.