Skip to content

[Feature] launchPersistentServer Launches persistent storage browser server #1523

@roblav96

Description

@roblav96

I love the launchServer feature, without it my janky 2014 MacBook Pro (with scissor switch keyboard 😇) battery would die instantly from relaunching the browser process (headless: false) every time I make a change to the code.

Problem

As of [email protected], can't call launchServer that uses persistent storage located at userDataDir.

Any attempt throws Playwright manages remote debugging connection itself.

Solution

Either or,

  1. Expose an option on the launchServer method to define userDataDir persistent storage.

  2. Expose an option on the launchPersistentContext method to set the LaunchType to server.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions