Skip to content

ref(browser): deprecate reset in favor of contexts.reset - #748

Merged
route merged 2 commits into
mainfrom
ref/deprecate-browser-reset
Nov 29, 2026
Merged

route merged 2 commits into
mainfrom
ref/deprecate-browser-reset

Conversation

@route

@route route commented Nov 29, 2026

Copy link
Copy Markdown
Member

Browser#reset only wrapped contexts.reset, a Capybara-driver name for what Puppeteer and Playwright do by disposing contexts.

It now warns that it will be removed in 0.23 and points to browser.contexts.reset, which keeps working the same way. The cleanup example moves to Contexts#reset, and the specs, the spec helper and the docs use contexts.reset.

Browser#reset only wrapped contexts.reset. It warns now and is removed in 0.23; the specs, the spec helper and the docs use
contexts.reset, which gets the example.
@route
route merged commit 85f6a13 into main Nov 29, 2026
7 checks passed
@route
route deleted the ref/deprecate-browser-reset branch November 29, 2026 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant