This is a test javascript program to get the response bodies of network requests sent to an active browser launched in Playwright.
The functionality of this code will be used to help automate web games that send their game state via JSON in a xhr/fetch request.
This project uses the Playwright library, Playwright can be initialized using node with the following command:
npm init playwright@latest
The project main file is run with node using:
npm run start