Skip to content

TommyGitHubs/playwright-js-tyme

Repository files navigation

playwright-js-tyme

This repository contains a collection of examples and demos using Playwright, a Node.js library for automated testing of web applications.

Getting Started

To get started with these examples, you will need to have Node.js and npm installed on your machine.

  1. Clone the repository:
git clone [email protected]:TommyGitHubs/playwright-js-tyme.git
  1. Navigate to the repository directory:
cd playwright-js-tyme
  1. Install the dependencies:
npm install
npx playwright install
  1. Run the test:

a. Run default (Chrome browser)

npx cross-env ENV=dev npm run test

b. Run with Firefox

npx cross-env ENV=dev npm run test:firefox

c. Run all Browser

npx cross-env ENV=dev npm run test:allBrowser

Examples

The examples in this repository cover a variety of topics, including:

  • Getting started with Playwright
  • Navigating to a website and interacting with elements
  • Taking screenshots and generating PDFs
  • Testing web applications across different browsers and devices

Contributions

Contributions are welcome! If you have an idea for an example or demo that you would like to see added to this repository, please open an issue or submit a pull request.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published