v0.0.64

microsoft/playwright-cliv0.0.64Feb 6, 2026by pavelfeldman

AI Summary

Changes browser behavior to incognito by default and simplifies session management with new commands and a shorter flag.

Key Highlights

  • Browser profiles are now in-memory by default (incognito mode).
  • Session flag `--session` is replaced by the shorter `-s=`.
  • New session management commands: `list`, `close-all`, and `kill-all`.
  • Workspace-scoped daemon prevents cross-project interference.

Breaking Changes

  • `--session` flag has been replaced with `-s=`.
  • Old `session-*` commands have been removed.
  • Default browser profile behavior changed from persistent to incognito.

New Features

  • Workspace-scoped daemon
  • New session management commands

Full Release Notes

### 🕶️ Incognito by default

Browser profiles are now in-memory by default — every session starts clean with no leftover state.

Use `--persistent` to opt into a persistent profile, or `--profile=<path>` to specify a custom profile directory:

```sh
> playwright-cli open example.com                       # incognito, clean slate
> playwright-cli open example.com --persistent          # persistent profile
> playwright-cli open example.com --profile=./my-data   # custom profile directory
```

---

### 🔀 Simplified session management

The `--session` flag has been replaced with the shorter `-s=`. Session lifecycle is simplified — there is no longer a "stopped" state; sessions are either running or gone.

```sh
> playwright-cli -s=myapp open example.com
> playwright-cli -s=myapp click e5
> playwright-cli -s=myapp close
> playwright-cli -s=myapp delete-data
```

New session management commands replace the old `session-*` family:

```sh
> playwright-cli list        # list all sessions
> playwright-cli close-all   # close all browsers
> playwright-cli kill-all    # forcefully kill all browser processes
```

---

### 🏗️ Workspace-scoped daemon

Each workspace now gets its own daemon process, preventing cross-project interference and enabling direct daemon startup for faster, more reliable operation.