Skip to content

Playwright API Automation Page Object Model with JavaScript

Notifications You must be signed in to change notification settings

darshan-chavda3/playwright-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Playwright API Automation Framework with Page Object Model (JavaScript)

  • This repository showcases an API automation testing framework built with Playwright and JavaScript, which facilitates efficient testing of RESTful APIs.​
  • This framework utilizes the public APIs provided by DemoQA for practising API automation testing.

Features

  • Leverages Playwright's APIRequestContext for direct HTTP requests, enabling robust API testing without UI dependencies.​
  • Implements POM to encapsulate API endpoints and related actions, enhancing code organization and readability.​
  • Utilizes JavaScript for scripting, ensuring flexibility and widespread community support.​
  • Organizes code into distinct modules for configuration, utilities, and tests, promoting scalability.​