Skip to content

addInitScript on browserContext level #1162

Open
@nexcode

Description

@nexcode

https://playwright.dev/docs/api/class-browsercontext#browser-context-add-init-script

This is a convenient API that allows you to simply add a script that will be executed every time a new page is created.
It would be very convenient if it was possible to use this for each BrowserContextID separately.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhanceNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions