Skip to content

Work-In-Progress-For-Health/playwright-examples-using-javascript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Playwright examples using JavaScript

Demonstration of:

Install

Install Node and NPM

Install Node and NPM from https://nodejs.org/

Run this to confirm your version:

node -v

Output should be at least:

v23.6.1

Run this to confirm your version:

npm -v

Output should be at least:

11.2.0

Install Playwright

Install Playwright latest version:

npm install playwright@latest

Update

Run:

npm install npm@latest
npm upgrade
npm audit fix

Run

Run:

./src/demo.js

If you prefer, you can run with Node explicitly:

node src/demo.js

The script will do three things:

  1. Launch your local Chrome web browser to view the free open source testing examples web page https://testingexamples.github.io.

  2. Interact with the web page in various ways, such as finding elements, clicking on elements, filling in form inputs, etc.

  3. Print some typical HTML tag output that demonstrates the program is running successfully.

Tracking

  • Package: playwright-examples-using-javascript
  • Version: 1.4.0
  • Created: 2019-11-02T00:00:00Z
  • Updated: 2025-04-24T13:58:02Z
  • License: GPL-2.0-or-greater or for custom license contact us
  • Contact: Joel Parker Henderson joel.henderson@wales.nhs.uk

About

Playwright browser automation examples using JavaScript programming

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published