Run the script with:
# Install packages
npm i
# Install playwright
npx playwright install
# Start the script
npm start
When the login page pops up, login using your Amazon credentials. Once you log in the script will navigate to the Orders page and download all invoices to /invoices