Skip to main content

clear

Delete the profile directory for a specified browser, clearing all user data.

Usage

pbvm clear [-t <target>]

Options

OptionShortDescription
--target-tBrowser identifier: {browser}@{buildId}

What gets cleared

  • Cookies
  • Bookmarks
  • Browsing history
  • Preferences
  • Trusted system certificates
  • Other user data

What is NOT affected

  • Browser binary files (Store cache)
  • Records in browserlist.json

Examples

# Clear a browser's profile
pbvm clear -t chrome@134.0.6998.35

# Interactive mode
pbvm clear

Use cases

  • Browser behaving abnormally — restore to a clean state
  • Automated testing — clear session state from the previous run
  • Remove sensitive data such as login info and cookies

To also remove the browser binary, use the remove command.