Skip to content

[Question] How to start webkit with persistent context? #5642

@downstream84

Description

@downstream84

I want to start webkit as I can do with chromium or firefox using PersistentContext, so that I can read data from a forum which I browse and use the saved session.

In chromium I do

options['executablePath'] = '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome';
var browser = await playwright.chromium.launchPersistentContext(data_directory['chrome'], options);

How can I do the same for Safari (WebKit)?

Metadata

Metadata

Assignees

No one assigned

    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