Skip to content

v2.1.77

Choose a tag to compare

@github-actions github-actions released this 29 Oct 08:22
· 5 commits to main since this release

Screenshot device pixel ratio

  • Add --dpr <n> (1–4) to browser screenshots, including viewport and full-page capture, through both Browser Bridge and direct CDP.
  • Honor explicit --dpr 1 even when the browser's native device pixel ratio is higher. Omitting DPR preserves existing screenshot behavior.
  • Validate CLI arguments and cover explicit DPR 1, 2 and 4, omitted DPR, bridge forwarding and invalid values with regression tests.

Example: bycli browser <session> screenshot out.png --width 1280 --height 960 --dpr 2 produces a 2560 × 1920 image.

Upgrade with npm install -g @sovovs/bycli@2.1.77, then reload the bundled extension or install the attached Browser Bridge 2.1.29 ZIP. An older extension does not support the new DPR option.

Validation: 119 unit/extension test files passed (1974 tests passed, 2 skipped), CLI and extension type checks, builds and npm package installation smoke test passed.

Full Changelog: v2.1.76...v2.1.77