chromote
Drive headless Chrome from R using the Chrome DevTools Protocol
chromote turned the browser itself into a pinned, downloadable dependency.
◆Recent moves
- 1y ago
$go_to() helper added; DevTools view fixed for Chrome 135
Adds $go_to(), which reliably waits for page load instead of pairing Page$navigate() with Page$loadEventFired(), and updates $view() for the DevTools frontend URL Chrome 135 introduced. Both continue the pattern of wrapping fragile protocol sequences.
View source ↗ - 1y ago
Versioned Chrome downloads and viewport control arrive
⚡ SPARKThe release that made the browser a managed dependency rather than an ambient one, adding versioned Chrome downloads, per-block version pinning, viewport sizing and mobile emulation. Everything since has been refinement on this base.
View source ↗ - 1y ago
Default switches to new headless mode for Chrome v132+
Drops the --headless=old default now that Chrome v132 no longer supports it, and adds chromote_info() for debugging plus consistent log file naming. Completes the headless transition that 0.3.0 opened.
View source ↗ - 1y ago
Headless mode now selectable via option or env var
Exposes the headless mode as a chromote.headless option or CHROMOTE_HEADLESS variable while keeping the old mode as the default, letting users test Chrome v128's new engine ahead of the switch. A deliberately staged migration.
View source ↗ - 1y ago
Fix launch_chrome() error caused by a typo
A same-day patch for a typo that made launch_chrome() throw. No functional change beyond the repair.
View source ↗ - 2y ago
is_active() redefined; adds respawn() and screenshot options
A broad session-API pass with a breaking redefinition of Chromote$is_active() to mean connection rather than liveness, a new is_alive() taking the old meaning, session $respawn() via a recorded targetId, and screenshot format inference plus a pass-through options argument.
View source ↗