mjones129 / puppeteer

Just a playground repo for learning puppeteer
0 stars 0 forks source link

Implement Command Line Arguments #1

Closed mjones129 closed 3 months ago

mjones129 commented 3 months ago

Add multiple sets of credentials to creds.js and specify which site to log in by passing in a command line argument into node.

mjones129 commented 3 months ago

https://betterstack.com/community/questions/how-to-pass-cmdline-arguments-to-node-app/

mjones129 commented 3 months ago

https://github.com/mjones129/puppeteer/commit/df13a15461308ba761ee502870fc1eefd61fd050

mjones129 commented 3 months ago

https://github.com/mjones129/puppeteer/commit/6bcb4c8305e8910e6fa37d7264f5c851bbda9c0a