https://github.com/dennisbergevin/pwgo
Multi-list interactive cli tool to run your Playwright suite.
https://github.com/dennisbergevin/pwgo
bubbletea charmbracelet cli go playwright tui
Last synced: 2 months ago
JSON representation
Multi-list interactive cli tool to run your Playwright suite.
- Host: GitHub
- URL: https://github.com/dennisbergevin/pwgo
- Owner: dennisbergevin
- License: mit
- Created: 2025-06-21T18:05:19.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-25T01:49:30.000Z (about 1 year ago)
- Last Synced: 2025-06-25T02:34:46.125Z (about 1 year ago)
- Topics: bubbletea, charmbracelet, cli, go, playwright, tui
- Language: Go
- Homepage:
- Size: 12.7 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-cli-apps-in-a-csv - pwgo - Interactive local run replament command for npx playwright test. (<a name="programming"></a>Programming)
- awesome-cli-apps - pwgo - Interactive local run replament command for npx playwright test. (<a name="programming"></a>Programming)
README
️ pwgo
Multi-list interactive cli tool to run your Playwright suite.
## Features
- 👟 Interactive local run replacement command for `npx playwright test`
- 📓 New selectable list view of available files, tests, and tags
- ⏳ Filterable list search
- 🔦 Tags, test and project total descriptive helpers

#### Table of Contents
- [Installation](#installation)
- [Command line arguments](#command-line-arguments)
- [Help mode](#help-mode)
- [Keyboard controls](#keyboard-controls)
- [Selecting items](#selecting-items)
---
## Installation
### Homebrew
```console
brew tap dennisbergevin/tools
brew install pwgo
```
### Go
Install with Go:
```console
go install github.com/dennisbergevin/pwgo@latest
```
Or grab a binary from [the latest release](https://github.com/dennisbergevin/pwgo/releases/latest).
---
## Command line arguments
> [!NOTE]
> For a complete list of options/arguments to pass to Playwright, refer to https://playwright.dev/docs/test-cli.
### Help mode
Common options are included in the help menu:
```bash
pwgo --help
```

### Keyboard controls
> [!NOTE]
> All keyboard controls are displayed on the bottom of the program. Additional commands can be seen by pressing the '?' key.
| Keys | Action |
| :-----------------------------------------: | :-----------------------------------: |
| Up/k | Move to selection above current |
| Down/j | Move to selection below current |
| Right/l/pgdn | Move to next page on current list |
| Left/h/pgdn | Move to previous page on current list |
| g/home | Go to start of current list |
| G/end | Go to end of current list |
| Space | Select current |
| Shift + Right/l | Toggle to next list |
| Shift + Left/h | Toggle to previous list |
| / | Open Filter search |
| Enter | Apply Filter/Run selection(s) |
| Esc | Remove Filter |
| Ctrl + c/q | Quit |
| ? | Open/Close help menu |
## Selecting items
Items can be selected via the Space key, which will add the item to the `Selected` list.
Items can be removed from the `Selected` list and returned back to their original list via the Space key.
> [!NOTE]
> If no items have been added to the `Selected` list, pressing Enter on an item will run that item.
