A Windows-only automation helper for activating available Payback coupons in a visible Chromium browser.
- Opens the Payback coupons page in a real browser window.
- Reuses a local browser profile so login can persist between runs.
- Scrolls the page to load lazy content.
- Clicks visible, enabled coupon activation buttons.
- Download this repository as ZIP and extract it (or clone it).
- In the root folder, double-click
Payback Coupon Activator.cmd.
The launcher will:
- install Node.js LTS if needed (via
winget) - install npm dependencies
- install Playwright Chromium
- start the script
cd app
npm install
npx playwright install chromium
npm start- You may need to sign in manually on first launch.
- You may need to accept a cookie banner.
- Session data is stored locally in
app/payback-session/.
| Path | Description |
|---|---|
README.md |
Project documentation. |
Payback Coupon Activator.cmd |
One-click launcher for Windows users. |
app/activate-payback-coupons.js |
Main Playwright automation script. |
app/setup-dependencies.ps1 |
Setup script for Node.js + dependencies + browser installation. |
app/package.json |
npm scripts and dependencies. |
app/package-lock.json |
Locked dependency versions for reproducible installs. |
app/.run/Activate Payback Coupons.run.xml |
Optional IntelliJ run configuration. |
.gitignore |
Ignore rules for local/generated files. |
.gitattributes |
Git text normalization rules. |
- If Node is not found after install, close the terminal window and run the launcher again.
- If
wingetsource errors appear, runwinget source reset --forcein an elevated terminal and retry. - If Playwright browser install fails, run
cd app && npx playwright install chromium. - If Payback changes page structure/text, selectors in the script may need adjustment.
- No credentials are hardcoded.
- Local session data is not committed to git.
node_modules,.env, and browser session folders are ignored.
Use this project responsibly and in line with Payback terms.