Skip to content

A comprehensive training repository for Selenium WebDriver with Java. Includes sample code, exercises, and a 14-day learning path for web automation.

License

Notifications You must be signed in to change notification settings

cihat-kose/selenium-automation-learning-path

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Selenium Automation Learning Path

Java Selenium JUnit GitHub last commit

💡 Introduction

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.

Table of Contents

📥 Installation

  1. Open IntelliJ IDEA.
  2. Select File > New > Project from Version Control.
  3. Enter the repository URL: https://github.com/cihat-kose/selenium-automation-learning-path.git and click Clone.
  4. 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.
  5. 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

⚙️ Usage

  1. Open the project in IntelliJ IDEA.
  2. Locate the test cases in the appropriate directory provided.
  3. Run the test cases.
  4. Customize the test cases as needed to suit your testing requirements.

✨ Features

  • Comprehensive Selenium training material.
  • Sample test cases and examples.
  • Basic HTML tutorials.
  • 14-day structured learning plan.

📦 Dependencies

  • 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

🔧 Configuration

Since there is no pom.xml file, ensure you manually add all the necessary dependencies using Maven as described above.

📚 Documentation

Each section of this repository is documented to provide clear and concise information on how to effectively use Selenium for web automation.

💡 Examples

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) or Thread.sleep()).
These are used only for demonstration and visual confirmation purposes.
In real-world automation, always prefer explicit waits, such as WebDriverWait, for proper synchronization and reliability.

🛠️ Troubleshooting

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.

👥 Contributors

🤝 Contributing

Contributions are welcome! Please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature-branch).
  3. Commit your changes (git commit -m 'Add new feature').
  4. Push to the branch (git push origin feature-branch).
  5. Create a Pull Request.

📜 License

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.

About

A comprehensive training repository for Selenium WebDriver with Java. Includes sample code, exercises, and a 14-day learning path for web automation.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published