Skip to content

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

Closed

Description

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)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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