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

microlinkhq / browserless / 34700594853
79%

Build:
DEFAULT BRANCH: master
Ran 12 Sep 2026 02:54PM UTC
Jobs 10
Files 46
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:53PM UTC coverage: 81.762% (-0.07%) from 81.832%
34700594853

push

github

web-flow
fix(goto): run overlay dismissal in an isolated world (#925)

* fix(goto): run overlay dismissal in an isolated world

dismissOverlays ran in the page main world, so the page could read
window.__browserlessDismiss and observe every querySelectorAll the scan
performed through its own DOM hooks.

setup now registers the script with Page.addScriptToEvaluateOnNewDocument
in a named isolated world, and run reaches that same world through
Page.createIsolatedWorld, which returns the existing context, so the
idempotency guard stays shared and dialogs are never clicked twice.

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

* fix(goto): resolve the dismiss world again after a navigation

A navigation between Page.createIsolatedWorld and Runtime.evaluate
destroyed the world run() had just resolved, so it rejected with
"Cannot find context with specified id" and the post-navigation
fallback was skipped for that document. run() now retries up to three
times on stale-context errors, resolving the world on the new document.

Tests now also cover goto with autoconsent enabled, for a consent
dialog present at load and for a CMP inserted after navigation. The
re-scan test asserts the click count returned by run() itself, so it
fails if rescan stops working.

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

* perf(goto): create the dismiss world only in the top frame

Page.addScriptToEvaluateOnNewDocument with a worldName has no frame
filter, so Chrome created a browserless_dismiss world in every frame of
every document even though child frames return right away. With site
isolation disabled every iframe shares the page session: a page with 50
same-origin iframes held 51 dismiss worlds and 32.3 MB of JS heap
against 24.0 MB on master.

setup now listens to Page.domContentEventFired, which ... (continued)

1147 of 1361 branches covered (84.28%)

Branch coverage included in aggregate %.

67 of 109 new or added lines in 1 file covered. (61.47%)

5201 of 6403 relevant lines covered (81.23%)

78647.5 hits per line

Uncovered Changes

Lines Coverage ∆ File
42
40.79
17.14% packages/goto/src/dismiss.js
Jobs
ID Job ID Ran Files Coverage
1 @browserless/goto - 34700594853.1 12 Sep 2026 02:56PM UTC 5
84.19
GitHub Action Run
2 @browserless/lighthouse - 34700594853.2 12 Sep 2026 02:55PM UTC 3
97.83
GitHub Action Run
3 @browserless/ai - 34700594853.3 12 Sep 2026 02:55PM UTC 6
73.14
GitHub Action Run
4 @browserless/screenshot - 34700594853.4 12 Sep 2026 02:54PM UTC 12
73.38
GitHub Action Run
5 @browserless/capture - 34700594853.5 12 Sep 2026 02:54PM UTC 11
86.63
GitHub Action Run
6 @browserless/devices - 34700594853.6 12 Sep 2026 02:54PM UTC 1
94.85
GitHub Action Run
7 @browserless/errors - 34700594853.7 12 Sep 2026 02:54PM UTC 1
99.43
GitHub Action Run
8 @browserless/function - 34700594853.8 12 Sep 2026 02:54PM UTC 3
97.1
GitHub Action Run
9 browserless - 34700594853.9 12 Sep 2026 02:55PM UTC 3
79.52
GitHub Action Run
10 @browserless/screencast - 34700594853.10 12 Sep 2026 02:54PM UTC 1
96.08
GitHub Action Run
Source Files on build 34700594853
  • Tree
  • List 46
  • 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 #34700594853
  • 816f421d on github
  • Prev Build on master (#34700068245)
  • Next Build on master (#34779582356)
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