GitHunt
CI

cihat-kose/playwright-java-learning-path

About This project is created to learn and experiment with browser automation using Playwright. It demonstrates basic Playwright functions implemented in Java, allowing users to practice web automation. As the learning process continues, new features will be added to the project.

Playwright Java Learning Path

A beginner-friendly project to explore browser automation using Playwright with Java and Maven.

Playwright
Maven
Java
JUnit
GitHub last commit

Introduction

This project is created to learn and experiment with browser automation using Playwright. It demonstrates basic Playwright functions implemented in Java, allowing users to practice web automation.

Future Scope

As the learning process continues:

  • Advanced Playwright scenarios will be added.
  • Support for CI/CD integration will be explored.

Table of Contents

Features

  • Basic browser automation with Playwright
  • Java implementation of Playwright functions
  • Step-by-step learning and experimentation

Installation

Option 1: Using IntelliJ IDEA

  1. Open IntelliJ IDEA.
  2. Go to File > New > Project from Version Control.
  3. In the URL field, enter the repository URL:
    https://github.com/cihat-kose/playwright-java-learning-path.git
  4. Click Clone.
  5. IntelliJ IDEA will automatically detect and import the project as a Maven project.
  6. Wait for the dependencies to be downloaded.

Option 2: Using Command Line

  1. Clone the repository:
    git clone https://github.com/cihat-kose/playwright-java-learning-path.git
  2. Navigate to the project directory:
    cd playwright-java-learn
  3. Install the necessary dependencies:
    mvn install

Usage

Option 1: Using IntelliJ IDEA

  1. Open the project in IntelliJ IDEA.
  2. Right-click on the test files and select Run to start experimenting with Playwright.

Option 2: Using Command Line

Run the Java test files directly from the terminal:

mvn test

Contributing

Contributions are welcome!

Before contributing, ensure:

  • Code follows Java naming conventions.
  • Tests are included for new features.
  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 details.

Contact

For questions or issues, please open an issue in this repository.