An open API service indexing awesome lists of open source software.

https://github.com/rancorm/playmeter

Script to collect statistics via Playwright
https://github.com/rancorm/playmeter

http http-requests playwright python

Last synced: 2 months ago
JSON representation

Script to collect statistics via Playwright

Awesome Lists containing this project

README

          

# Playmeter

Python script to collect request & response statistics via Playwright.

```
Requests for https://cormier.co

Methods:
GET 9
POST 2

Status codes:
200 10
204 1
```

# Setup

Install project dependencies.

```
python -m venv .venv
. .venv/bin/activate
uv sync
```

Install Playwright WebKit headless browser.

```
playwright install webkit
```

Run script.

```
python playmeter.py https://cormier.co
```

# Quick Run

```
uv run python playmeter.py https://cormier.co
```