• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

microlinkhq / browserless / 34698893803
82%

Build:
DEFAULT BRANCH: master
Ran 12 Sep 2026 02:19PM UTC
Jobs 10
Files 45
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

12 Sep 2026 02:18PM UTC coverage: 80.762% (+0.6%) from 80.203%
34698893803

push

github

web-flow
fix(goto): emulate a screen consistent with the device viewport (#923)

* fix(goto): emulate screen and client hints consistent with the device

Desktop viewports rendered inside the 800x600 headless screen, so device-width media queries matched tablet layouts. Chrome user agents were overridden without UA-CH metadata, which removed sec-ch-ua headers and emptied navigator.userAgentData.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0116zka7w2WKPSi3kqHyVAET

* fix(goto): fit the headless screen per browser and restore device metrics

Emulation.updateScreen resizes the headless screen for the whole browser, so Puppeteer's own metrics overrides keep a screen that fits the viewport. That removes the stacked setDeviceMetricsOverride and survives page.setViewport re-applies. goto now compares against page.viewport(), so switching from a mobile device back to a desktop one restores desktop metrics, and repeat navigations skip setViewport. Android WebView user agents report the Android WebView brand.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0116zka7w2WKPSi3kqHyVAET

* fix(goto): recover the browser screen state after a failed fit

A rejected screen fit poisoned the per-browser promise chain, so every later navigation on that browser skipped fitting the screen.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0116zka7w2WKPSi3kqHyVAET

* test(goto): cover screen update failures and run the screen path in mocks

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0116zka7w2WKPSi3kqHyVAET

* fix(goto): emulate the screen per page instead of per browser

The browser-wide Emulation.updateScreen state leaked between pages and clients: a goto could shrink the screen under another connect-mode client, ... (continued)

1046 of 1250 branches covered (83.68%)

Branch coverage included in aggregate %.

121 of 121 new or added lines in 2 files covered. (100.0%)

2 existing lines in 1 file now uncovered.

4764 of 5944 relevant lines covered (80.15%)

84701.67 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
86.4
3.15% packages/goto/src/index.js
Jobs
ID Job ID Ran Files Coverage
1 @browserless/function - 34698893803.1 12 Sep 2026 02:19PM UTC 3
97.1
GitHub Action Run
2 browserless - 34698893803.2 12 Sep 2026 02:20PM UTC 3
79.52
GitHub Action Run
3 @browserless/goto - 34698893803.3 12 Sep 2026 02:20PM UTC 4
80.01
GitHub Action Run
4 @browserless/errors - 34698893803.4 12 Sep 2026 02:19PM UTC 1
99.43
GitHub Action Run
5 @browserless/lighthouse - 34698893803.5 12 Sep 2026 02:19PM UTC 3
97.83
GitHub Action Run
6 @browserless/ai - 34698893803.6 12 Sep 2026 02:19PM UTC 6
73.14
GitHub Action Run
7 @browserless/devices - 34698893803.7 12 Sep 2026 02:19PM UTC 1
94.85
GitHub Action Run
8 @browserless/screencast - 34698893803.8 12 Sep 2026 02:19PM UTC 1
96.08
GitHub Action Run
9 @browserless/screenshot - 34698893803.9 12 Sep 2026 02:19PM UTC 12
73.38
GitHub Action Run
10 @browserless/capture - 34698893803.10 12 Sep 2026 02:19PM UTC 11
86.63
GitHub Action Run
Source Files on build 34698893803
  • Tree
  • List 45
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #34698893803
  • ea04f0b9 on github
  • Prev Build on master (#34616565764)
  • Next Build on master (#34699172722)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc