auto-browser

1.0.3 • Public • Published

auto-browser

Light abstraction onto puppeteer in order to simplify easy browser automation tasks.

oclif Version Downloads/week License

Usage

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
...

Commands

auto-browser browse [WEBPAGE]

Start browsing the configured page(s)

USAGE
  $ auto-browser browse [WEBPAGE]

ARGUMENTS
  WEBPAGE  (www.games.ch.json|www.grandcasino-bern.ch.json|www.houseofbeer.ch.json|www.kalendoo.com.json|xmas.toppreise.
           ch.json|zattoo-adventskalender.com.json|zzz_adventcalendar.myswitzerland.com.json) The page to browse

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

auto-browser generate

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

auto-browser help [COMMAND]

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

auto-browser list

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

Package Sidebar

Install

npm i auto-browser

Weekly Downloads

3

Version

1.0.3

License

GPL-3.0-or-later

Unpacked Size

67.8 kB

Total Files

28

Last publish

Collaborators

  • bernhard_webstudio