Light abstraction onto puppeteer in order to simplify easy browser automation tasks.
Example usage includes automatic participation in christmas/advent competitions so you do not have to do it manually, 24 times.
$ npm install -g auto-browser
$ auto-browser COMMAND
running command...
$ auto-browser (-v|--version|version)
auto-browser/1.0.3 darwin-x64 node-v17.2.0
$ auto-browser --help [COMMAND]
USAGE
$ auto-browser COMMAND
...
Start browsing the configured page(s)
USAGE
$ auto-browser browse [WEBPAGE]
ARGUMENTS
WEBPAGE (your json files) The page to browse. No argument = one after another.
OPTIONS
-c, --confirmNext confirm next: require user (CI) interaction before moving to next page
-d, --debug debug: get additional logs, show browser (disable headless)
DESCRIPTION
...
See code: src/commands/browse.js
Generate a new config for a webpage to browse - interactively
USAGE
$ auto-browser generate
OPTIONS
-d, --debug=debug debug: write some more stuff
DESCRIPTION
...
See code: src/commands/generate.js
Display help for auto-browser.
USAGE
$ auto-browser help [COMMAND]
ARGUMENTS
COMMAND Command to show help for.
OPTIONS
-n, --nested-commands Include all nested commands in the output.
See code: @oclif/plugin-help
List all available pages with their name/description
USAGE
$ auto-browser list
OPTIONS
-x, --extended show extra columns
--columns=columns only show provided columns (comma-separated)
--csv output is csv format [alias: --output=csv]
--filter=filter filter property by partial string matching, ex: name=foo
--no-header hide table header from output
--no-truncate do not truncate output to fit screen
--output=csv|json|yaml output in a more machine friendly format
--sort=sort property to sort by (prepend '-' for descending)
DESCRIPTION
...
See code: src/commands/list.js