Skip to content

bomonike/playwright-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

playwright-scripts/README.md

Install

  1. In a Terminal, navigate to a folder
  2. git clone https://github.com/bomonike/playwright-scripts; cd playwright-scripts
  3. cd to a folder

test-example to run test-example.py according to its USAGE comment.

the-internet

Target URL

https://the-internet.herokuapp.com

demo.playwright.dev/todomvc

Creating scripts in Python

https://playwright.dev/python/docs/codegen Playwright Inspector to generate test scripts.

playwright codegen https://the-internet.herokuapp.com

works from VSCode

Extensions

Scripts here were created with assist from AI, such as: https://www.perplexity.ai/search/write-python-playwright-script-1JU1SXFJQJW4hly9UZ_n6Q#0

"write python playwright scripts to exercise all controls behind each link at https://the-internet.herokuapp.com/"

AI-generated code were edited based on PlayWright documentation at https://learn.microsoft.com/en-us/azure/app-testing/

About

Playwright scripts to automate testing of website such as the-internet sample.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •