Installation & Running
- Install Dependencies
npm install
- Create a .env file and set up WordPress dashboard credentials.
- Run the script:
node script.js
Disclaimer: Running this script via Git Bash may close the Chrome window eventually, even though it is configured not to close after the script finishes. If you want the browser window to remain open, run the script via Command Prompt (cmd).