Skip to content

Our Playwright-based automated testing suite for the SauceDemo website includes tests for logging in functionality. It generates detailed test reports of the test execution.

Notifications You must be signed in to change notification settings

zafir100100/Web-Automation-with-Playwright

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web-Automation-with-Playwright

What is Automation?

Automation is the practice of using software tools and scripts to perform tasks that would typically require human intervention. In the context of software testing, automation involves using specialized tools to execute test cases and compare the actual outcomes with the expected results automatically.

Why we use Playwright?

Playwright offers several compelling reasons for web automation:

Multi-Browser Support: Playwright supports multiple web browsers, including Chrome, Firefox, and WebKit. This enables you to run your tests on different browsers without modifying your codebase.

Powerful Cross-Browser API: Playwright provides a powerful and consistent API for automating web interactions across different browsers. You can easily simulate user actions, interact with DOM elements, and perform browser-specific operations.

Headless and Headful Modes: Playwright allows you to run tests in headless mode for faster execution or in headful mode for debugging and troubleshooting. You have the flexibility to choose the appropriate mode based on your needs.

Robust Wait and Retry Mechanism: Playwright's built-in wait and retry mechanism ensures that your tests wait for elements to appear or conditions to be met before proceeding. This reduces flakiness and enhances test reliability.

Accessibility Testing: Playwright includes extensive support for accessibility testing, allowing you to verify that your web applications are accessible to users with disabilities.

Overall, Playwright is a powerful and efficient tool for web automation that can help you to test your application more effectively and catch issues early in the development process.

Technology used:

  • Playwright
  • Visual Studio Code
  • Javascript

How to run this project

  • Clone this project

  • First install dependencies: npm install

  • Then run the test: npx playwright test

About

Our Playwright-based automated testing suite for the SauceDemo website includes tests for logging in functionality. It generates detailed test reports of the test execution.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published