{
  "title": "Following pages as an agent: navigation map, text mode and wrapper exit codes — test run on the Firefox store file 2.73.0",
  "published": "2026-12-01",
  "measured": "2026-12-01",
  "license": "CC BY 4.0",
  "license_url": "https://creativecommons.org/licenses/by/4.0/",
  "question": "Does the Firefox store file of Full Page PDF Snap 2.73.0 find the next page in a link chain, a numbered page bar and a range bar, report when there is none, and does the command-line wrapper refuse login pages, error pages and local addresses as documented?",
  "method": {
    "extension": "File served by addons.mozilla.org for version 2.73.0 (SHA-256 3854bc2f008ccc6bfb94eea5ae4a23189d9c1f9e9a19cba1181b2fa9b2018ac5), downloaded on 2026-12-01.",
    "browser": "Firefox 146.0.1 (Playwright build 1509, Linux under WSL2), started without a window by the non-public command-line wrapper (tools/pdfsnap-cli.py, source of 2.73.0, commit 06c676c).",
    "fixtures": "13 small local pages on 127.0.0.1: four pages chained with rel=next and a next link; four pages with a numbered page bar (current page marked with aria-current); three pages with a range bar (1-50 | 51-100 | 101-150, the shown range is not a link); one page without any next sign; one page with a password field.",
    "calls": "Text mode (--text --json) one call per case, one run each; parallel call with --parallel 3; session calls with --session 5, then --end-session. Wall seconds are those of the whole wrapper call including browser start; they are not controlled measurements.",
    "load": "Load average on the machine 1.1 at the start and 2.8 at the end of the run.",
    "control": "Every case lists the expected result before the observed one; no case was repeated or discarded."
  },
  "cases": [
    {
      "case": "rel=next link, first page",
      "args": "--text --allow-private <server>/p1.html",
      "expected": "next = p2.html",
      "exit_code": 0,
      "wall_s": 4.3,
      "extension_s": 1.7,
      "http_status": 200,
      "next": "<server>/p2.html",
      "next_from": null,
      "warning": "",
      "code": null,
      "headings": 1,
      "links": 1,
      "extension": "2.73.0"
    },
    {
      "case": "rel=next link, last page",
      "args": "--text --allow-private <server>/p4.html",
      "expected": "no next",
      "exit_code": 0,
      "wall_s": 4.3,
      "extension_s": 1.9,
      "http_status": 200,
      "next": "",
      "next_from": null,
      "warning": "",
      "code": null,
      "headings": 1,
      "links": 0,
      "extension": "2.73.0"
    },
    {
      "case": "numbered page bar, page 2 of 4",
      "args": "--text --allow-private <server>/num2.html",
      "expected": "next = num3.html",
      "exit_code": 0,
      "wall_s": 4.3,
      "extension_s": 1.7,
      "http_status": 200,
      "next": "<server>/num3.html",
      "next_from": "numbers",
      "warning": "",
      "code": null,
      "headings": 1,
      "links": 3,
      "extension": "2.73.0"
    },
    {
      "case": "range bar 1-50 | 51-100 | 101-150, first range",
      "args": "--text --allow-private <server>/r1.html",
      "expected": "next = r2.html",
      "exit_code": 0,
      "wall_s": 4.0,
      "extension_s": 1.6,
      "http_status": 200,
      "next": "<server>/r2.html",
      "next_from": "numbers",
      "warning": "",
      "code": null,
      "headings": 1,
      "links": 2,
      "extension": "2.73.0"
    },
    {
      "case": "page without any next sign",
      "args": "--text --allow-private <server>/plain.html",
      "expected": "no next",
      "exit_code": 0,
      "wall_s": 4.2,
      "extension_s": 1.7,
      "http_status": 200,
      "next": "",
      "next_from": null,
      "warning": "",
      "code": null,
      "headings": 1,
      "links": 0,
      "extension": "2.73.0"
    },
    {
      "case": "login page (password field), text mode",
      "args": "--text --allow-private <server>/login.html",
      "expected": "refused (sensitive)",
      "exit_code": 7,
      "wall_s": 4.4,
      "extension_s": 1.6,
      "http_status": null,
      "next": "",
      "next_from": null,
      "warning": null,
      "code": "sensitive",
      "headings": 0,
      "links": 0,
      "extension": "2.73.0"
    },
    {
      "case": "missing page (HTTP 404)",
      "args": "--text --allow-private <server>/missing.html",
      "expected": "reported as error page",
      "exit_code": 6,
      "wall_s": 4.5,
      "extension_s": 1.7,
      "http_status": 404,
      "next": "",
      "next_from": null,
      "warning": "Die Seite sieht nach Fehlermeldung oder Zugangsschranke aus, nicht nach Inhalt. Der Server antwortete mit HTTP 404.",
      "code": null,
      "headings": 1,
      "links": 0,
      "extension": "2.73.0"
    },
    {
      "case": "local address without --allow-private",
      "args": "--text <server>/p1.html",
      "expected": "refused",
      "exit_code": 2,
      "wall_s": 0.1,
      "extension_s": null,
      "http_status": null,
      "next": "",
      "next_from": null,
      "warning": null,
      "code": null,
      "headings": 0,
      "links": 0,
      "extension": null
    },
    {
      "case": "three pages in parallel (--parallel 3)",
      "args": "--text --allow-private --parallel 3 <server>/p1.html <server>/num2.html <server>/r1.html",
      "expected": "three results",
      "exit_code": 0,
      "wall_s": 5.8,
      "extension_s": 1.7,
      "http_status": 200,
      "next": "<server>/p2.html",
      "next_from": null,
      "warning": "",
      "code": null,
      "headings": 1,
      "links": 1,
      "extension": "2.73.0"
    },
    {
      "case": "session: first call (--session 5)",
      "args": "--text --allow-private --session 5 <server>/p1.html",
      "expected": "Firefox started",
      "exit_code": 0,
      "wall_s": 3.7,
      "extension_s": 1.6,
      "http_status": 200,
      "next": "<server>/p2.html",
      "next_from": null,
      "warning": "",
      "code": null,
      "headings": 1,
      "links": 1,
      "extension": "2.73.0"
    },
    {
      "case": "session: follow-up call (--session 5)",
      "args": "--text --allow-private --session 5 <server>/num2.html",
      "expected": "Firefox reused",
      "exit_code": 0,
      "wall_s": 1.6,
      "extension_s": 1.5,
      "http_status": 200,
      "next": "<server>/num3.html",
      "next_from": "numbers",
      "warning": "",
      "code": null,
      "headings": 1,
      "links": 3,
      "extension": "2.73.0"
    }
  ],
  "result": "11 of 11 cases gave the expected result.",
  "not_tested": [
    "dismiss=1 on a real consent banner (not part of this run)",
    "real public websites",
    "Chrome (the agent page needs a real key press there)",
    "the PDF capture and the evidence file .snap.json (wrapper only, not part of this run)"
  ],
  "limitations": "Local test pages written for this run, one run each, one machine. The wrapper is not public. The evidence file with the SHA-256 of the PDF file and the exit codes belong to the wrapper, not to the add-on."
}
