Automation Builder

{STUB} @wranggle/automation-builder API

CLI

node_modules/.bin/wranggle

Hereafter, node_modules/.bin/wranggle will be referenced as just wranggle, as if your shell config contained export PATH=$PATH:./node_modules/.bin or alias wranggle=./node_modules/.bin/wranggle.

  • --automations search paths

matches on **/wranggle+(-|_|.)*.json glob pattern

server

todo: explain options in wranggle server --help

Functional tests

instability-3

todo: explain options in wranggle ftest --help

wranggle-automation.json

todo: list/explain options:

  • code
  • name
  • description
  • isMultiPage. When false, automation will only run on the current page, will not run after navigation.
  • { deleted: true } deletes automation if present, including the cached automation script.
  • script.url
  • ui.url optional path to html file for custom UI, displayed in popup

localhost

For dev server

  • { localhost.cache }

    • note: non-localhost / public automation registries should rely on HTTP cache headers. This is for the case of localhost dev, where it tries to fetch the latest, but falls back to cached when local server is not running
  • localhost.serveDirectory