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.
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
- Open IntelliJ IDEA.
- Go to File > New > Project from Version Control.
- In the URL field, enter the repository URL:
https://github.com/cihat-kose/playwright-java-learning-path.git - Click Clone.
- IntelliJ IDEA will automatically detect and import the project as a Maven project.
- Wait for the dependencies to be downloaded.
Option 2: Using Command Line
- Clone the repository:
git clone https://github.com/cihat-kose/playwright-java-learning-path.git - Navigate to the project directory:
cd playwright-java-learn - Install the necessary dependencies:
mvn install
Usage
Option 1: Using IntelliJ IDEA
- Open the project in IntelliJ IDEA.
- 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.
- 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.
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.