Commit Graph

14 Commits

Author SHA1 Message Date
SGavrl
cd661982df fix(build): preserve non-render compatibility 2026-08-07 20:15:28 +00:00
SGavrl
af93379ba0 build: publish no-render release variants 2026-08-07 19:35:59 +00:00
SGavrl
69cdf19a52 docs: remove duplicate rendering guides 2026-08-07 19:19:36 +00:00
SGavrl
e66a33f893 docs: restore stealth and performance positioning 2026-08-07 19:16:27 +00:00
SGavrl
3825b1e577 fix(cdp): support page screencast sessions 2026-08-07 18:58:44 +00:00
SGavrl
806cee4bac fix(cli): simplify screenshot capture
Add a short screenshot flag, reject batch conflicts during argument parsing, and remove unsupported performance and parity language from the public documentation.
2026-08-07 18:38:24 +00:00
SGavrl
3295143025 docs(render): publish automation guide
Document screenshots, scrolling, screencasting, PDF, MCP media output, release builds, and evidence-based render verification across the public guides and agent skill.
2026-08-07 18:33:51 +00:00
SGavrl
0670e738a0 ci(release): use active macOS SDK for stealth builds 2026-07-26 11:47:15 +00:00
SGavrl
78a3e997e7 ci(release): publish explicit stealth artifacts 2026-07-26 11:05:13 +00:00
Jim Zhang @ wonderhoi
f5dc97b131 fix(net): scope passive callbacks to the registering page (#414)
The on_request/on_response Vec lived on the ObscuraHttpClient shared by
every page in the context, so a callback registered on one page fired for
all pages (#408 cross-page bleed) and outlived its page.

Callbacks now live in a per-page CallbackRegistry (Arc shared with the
page's JS runtime state). Page-driven fetch paths (navigation, POST,
scripts, stylesheets, robots.txt, module loads, JS fetch/XHR in both
plain and stealth modes) pass the registry through; the HTTP client
itself is callback-free.

Adds callbacks_do_not_bleed_across_pages: page A's callback stays silent
for page B's requests and stops firing after page A is dropped.
2026-07-16 12:43:13 +02:00
SGavrl
5db0dc0e01 docs: document the interception API and refresh the skill
The request interception API (#306) and the global --stealth flag are
merged, so:

- Use-as-a-Rust-library.md: add an "Intercept requests" section covering
  on_request/on_response, enable_interception (Continue/Fulfill/Fail),
  and add_preload_script, with examples.
- Intercept-and-modify-requests.md: point embedders at the native API.
- AGENTS.md: --stealth is now global (all subcommands incl. scrape, via
  OBSCURA_STEALTH for workers); note the interception API on the obscura
  crate and that op_fetch_url rewrites must stay behind validate_fetch_url.
- skills/obscura/SKILL.md: fix the build note (stealth is not a default
  feature), correct "randomized" to a consistent fingerprint, add the
  global --stealth flag, --dump assets/cookies, and an interception note.
2026-06-24 23:27:19 +00:00
SGavrl
4e500a2aad docs: update guides for global --stealth, --dump cookies, fetch assets
- --stealth is now a global flag: document it on every subcommand
  including scrape, and that it works before or after the subcommand.
- Correct the stealth description: it presents a consistent Chrome
  fingerprint (TLS, headers, JS surfaces), not a randomized one, and
  scripted fetch()/XHR share that fingerprint.
- Add --dump cookies to the CLI reference and the extract-data guide.
- Note --dump assets now also lists fetch()/XHR request URLs.
2026-06-24 23:22:16 +00:00
SGavrl
3eada2404c docs: document new flags, stealth identity vars, MCP/SSRF hardening, and DOM-agent CDP methods (#288) 2026-06-10 21:56:43 +00:00
SGavrl
a727fe82ad Add GitBook-synced docs under docs/
Mirror the wiki content into a docs/ tree so GitBook Git Sync can connect to
this repo. Adds SUMMARY.md for the table of contents, .gitbook.yaml pointing
GitBook at docs/, and converts wiki page links to relative .md paths.
2026-06-06 09:04:30 +00:00