#!/usr/bin/env bash # Capture the after and before halves of a screenshot pair from one scratch # browser-chrome test, reverting the committed files the change edited for the # before run. ./mach mochitest installs the test file itself, so no rebuild is # needed for it. # # scripts/capture-pair.sh [--base REV] [--setpref name=value]... ... [shots-dir] # scripts/capture-pair.sh --probe [--timeout-ms N] [--window-size WxH] [--chrome-setup-file F [--chrome-setup-async]] [--steps F] [--base REV] [--setpref name=value]...