Skip to content

Conversation

@mintlify
Copy link
Contributor

@mintlify mintlify bot commented Feb 3, 2026

Added a warning that calling browser.close() before deleting kernel browsers will shut down Chromium and cause profile saving to fail. Changed the callout type from Info to Warning to better reflect the severity of this issue.

Files changed:

  • browsers/termination.mdx

Created by Mintlify agent


Note

Low Risk
Documentation-only change that adjusts guidance/warnings around browser termination; no runtime behavior is modified.

Overview
Clarifies profile persistence docs to prevent accidental loss of saved state when using save_changes: true.

Updates browsers/profiles.mdx to warn that browser.close() both does not persist profile state and can shut down Chromium before the Kernel browser is deleted, causing profile saving to fail; reinforces deleting the Kernel browser (or letting it timeout) as the required persistence mechanism.

Written by Cursor Bugbot for commit 21bbbe1. This will update automatically on new commits. Configure here.

Co-Authored-By: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com>
Using Playwright/Puppeteer's method `browser.close()` does not delete the browser. Use one of the methods below to delete the browser.
</Info>
<Warning>
Using Playwright/Puppeteer's method `browser.close()` does not delete the browser. Use one of the methods below to delete the browser. Calling `browser.close()` before deleting the Kernel browser will shut down Chromium, causing profile saving to fail.
Copy link
Contributor

@dprevoznik dprevoznik Feb 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hiroTamada I think this specific added callout should be added to the Profiles page specifically and is less useful on this page.

Copy link
Contributor

@dprevoznik dprevoznik Feb 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

@dprevoznik dprevoznik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a comment on where to place this warning.

mintlify bot added 2 commits February 3, 2026 16:15
Co-Authored-By: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com>
Co-Authored-By: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com>
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.

2 participants