Skip to content

green-coding-solutions/playwright-overhead

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Playwright Speedometer

Runs Speedometer 3.1 in Playwright and prints the final score.

Setup

python -m venv venv
source venv/bin/activate
pip install playwright
playwright install firefox chromium

Usage

Headless (default):

python3 firefox-playwright/run_speedometer.py

Headful:

python3 firefox-playwright/run_speedometer.py --headful

Run in Chrome:

python3 firefox-playwright/run_speedometer.py --browser chrome

--browser chrome uses Playwright's Chrome channel and requires Google Chrome to be installed on the host.

Run both Firefox and Chrome:

python3 firefox-playwright/run_speedometer.py --browser firefox --browser chrome

JSON output:

python3 firefox-playwright/run_speedometer.py --json

About

Our scripts to determine the overhead of playwright

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages