Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/himu143/orangehrm_web_automation_playwright
https://github.com/himu143/orangehrm_web_automation_playwright
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/himu143/orangehrm_web_automation_playwright
- Owner: Himu143
- Created: 2023-10-18T17:34:13.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-29T16:07:35.000Z (about 1 year ago)
- Last Synced: 2023-10-29T18:22:53.256Z (about 1 year ago)
- Language: JavaScript
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OrangeHRM_Web_Automation_Playwright
## Introduction
Playwright is a Node.js library for automating browsers, such as Chromium, Firefox, and WebKit. It provides a unified API to interact with web pages in a headless or full browser environment, making it an excellent choice for tasks like web scraping, testing, and automating interactions with web applications.
## Features
- **Multi-Browser Support**: Playwright supports Chromium, Firefox, and WebKit, giving you flexibility in choosing the browser that suits your needs.- **Cross-Platform**: Playwright works on Windows, macOS, and Linux, making it a versatile solution for automation tasks.
- **Headless and Headful Mode**: You can run Playwright scripts in headless mode for performance or in headful mode for debugging and visibility.
- **High-Level API**: Playwright offers a high-level API with easy-to-use functions for interacting with web pages, making it accessible to both beginners and experienced developers.
- **Parallel Execution**: Playwright supports parallel execution of scripts, which can speed up your automation tasks significantly.
- **Multi-Language Support**: While Playwright is primarily a Node.js library, it offers bindings for other languages like Python and .NET, providing a consistent API for various platforms.
## Project Scenario:
1. Automate the login page of orange hrm using playwright (https://opensource-demo.orangehrmlive.com/web/index.php/auth/login)
2. write positive and negative case
3. validate if login successful and unsuccessful## Technology used:
- Playwright
- Visual Studio Code
- Javascript## Pre-requisite
- nodejs must be installed.
- Package manager must be installed (npm / yarn).
- Editor: VS code must be installed
## How to run this project
- Clone this project
- Open in VS code
- First install dependencies: npm install
- Then run the test: npx playwright test