Skip to content

build(deps): bump github.com/chromedp/chromedp from 0.16.0 to 0.20.1 - #103

Merged
euskadi31 merged 2 commits into
masterfrom
dependabot/go_modules/github.com/chromedp/chromedp-0.20.1
Oct 12, 2026
Merged

euskadi31 merged 2 commits into
masterfrom
dependabot/go_modules/github.com/chromedp/chromedp-0.20.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Bumps github.com/chromedp/chromedp from 0.16.0 to 0.20.1.

Release notes

Sourced from github.com/chromedp/chromedp's releases.

v0.20.1

Documentation only. The README, the package documentation and the docs have the current versions (chromedp v0.20.0, cdproto v0.157.8, remote v0.2.0), the CI matrix and the release history. The README describes termcast and the 43 programs of chromedp/examples.

v0.20.0

chromedp supports Go 1.25 and later. Before this release, the module needed Go 1.27 (see #1536).

  • The JSON types come from github.com/chromedp/cdproto/cdp/jsonv2. With Go 1.27 or GOEXPERIMENT=jsonv2 they are aliases of the types of the standard encoding/json/v2 and jsontext, so the public API is the same. With Go 1.25 and 1.26 they come from github.com/go-json-experiment/json.
  • The modules chromedp, remote and test use go 1.25 and cdproto v0.157.8.
  • The CI runs Go 1.25, 1.26 and stable on Linux, stable on Windows and macOS, and the experiment and the compatibility tag.

v0.19.1

Documentation only. The README and the package documentation describe termcast, which draws the screen of a page in a terminal, and the 43 programs of chromedp/examples.

v0.19.0

This release adds new actions and options, fixes bugs, and works on Linux, Windows and macOS in CI. See docs/MIGRATION.md for every change.

New

  • Tap and TapXY send a touch tap.
  • DragAndDrop and DragAndDropXY drag and drop with the mouse and with HTML5 drag and drop.
  • Console reads the console, the uncaught exceptions and the browser log of a page as one iterator.
  • ExposeFunc calls a Go function from the page, like exposeFunction in Puppeteer.
  • PrintToPDF takes options for the paper, the margins, the scale, the page ranges, the header and the footer, the outline and a stream.
  • WithNewWindow chooses a window or a tab for a new target. NoInheritEnv starts the browser with only the given variables. WithDetachOnCancel leaves the tab open when the context ends.
  • EvalAwaitPromise waits for a promise that an expression returns.

Fixed

  • Call on a Target or a Browser returns an error when the connection to the browser is lost, and does not hang.
  • The exec allocator keeps the order of the flags.
  • WaitNotPresent works with a JSPath that gives null or an empty list.
  • Evaluate returns ErrJSNull for null when the type cannot be nil, and Text works on a text node.
  • The pipe transport, the allocator and the tests work on Windows and macOS, and the default browser lookup on Windows falls back to Microsoft Edge.

Notes

  • Use errors.Is(err, context.Canceled) and not == for the error of a call after the connection was lost.
  • The tests run on Linux, Windows and macOS in CI, and every night against the stable, beta and dev channels of headless-shell.
  • The module github.com/chromedp/chromedp/remote is unchanged and stays at remote/v0.1.0.
Commits
  • dddfecf Sweep the documentation
  • 156907f Require chromedp v0.20.0 in the test module
  • a5acf48 Require chromedp v0.20.0 in the remote module
  • 4a5437d Support Go 1.25 and later
  • 3c56b8b Describe termcast and the new examples in the README and the package document...
  • 67e1ea2 Update the actions of the workflows to checkout v7 and setup-go v7
  • 8b41617 Wait longer for the report of an HTML5 drag, and ignore the Windows pipe swit...
  • 7b6b962 Fix three tests that could pass for the wrong reason
  • a6e93be Name the variables that a browser can need with NoInheritEnv
  • 2bc273c Close the PDF stream when a read fails and document the zero values
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Oct 12, 2026
@dependabot
dependabot Bot force-pushed the dependabot/go_modules/github.com/chromedp/chromedp-0.20.1 branch 3 times, most recently from d77e115 to 2137c95 Compare October 12, 2026 20:16
@euskadi31

Copy link
Copy Markdown
Contributor

@dependabot rebase

Bumps [github.com/chromedp/chromedp](https://github.com/chromedp/chromedp) from 0.16.0 to 0.20.1.
- [Release notes](https://github.com/chromedp/chromedp/releases)
- [Commits](chromedp/chromedp@v0.16.0...v0.20.1)

---
updated-dependencies:
- dependency-name: github.com/chromedp/chromedp
  dependency-version: 0.20.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/go_modules/github.com/chromedp/chromedp-0.20.1 branch from 2137c95 to 4f0fb04 Compare October 12, 2026 20:21
chromedp v0.20 moves to the typed cdproto v0.157.8 and a generic action
API: `Run(ctx)` with no action becomes `Do(ctx)`, `Run` takes one
`Action[T]` and returns its value, the `By...` lookup options become
selector types (`chromedp.ID`), `Text` returns the text instead of
filling a pointer, `ActionFunc` is gone and a cdproto command is a
`cdp.Command[P, R]` value run with `chromedp.Call`.

Port the opt-in binding-cookie browser test to that API without
changing what it asserts: the same login steps, the same callback
result and the same check that no `__Host-oidc-` binding cookie is
left after the callback. Verified with Chrome (OIDC_BROWSER_TESTS=1)
on Go 1.26.5 and Go 1.27.2.

Refs #103.
@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 38303901727

Coverage remained the same at 97.411%

Details

  • Coverage remained the same as the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 12864
Covered Lines: 12531
Line Coverage: 97.41%
Coverage Strength: 1744.29 hits per line

💛 - Coveralls

@euskadi31
euskadi31 merged commit 9ab63c9 into master Oct 12, 2026
2 checks passed
@euskadi31
euskadi31 deleted the dependabot/go_modules/github.com/chromedp/chromedp-0.20.1 branch October 12, 2026 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants