Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

addInitScript on browserContext level #1162

Open
nexcode opened this issue Dec 10, 2024 · 1 comment
Open

addInitScript on browserContext level #1162

nexcode opened this issue Dec 10, 2024 · 1 comment
Labels
enhance New feature or request

Comments

@nexcode
Copy link

nexcode commented Dec 10, 2024

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.

@nexcode nexcode added the enhance New feature or request label Dec 10, 2024
Copy link

Please add a valid Rod Version: v0.0.0 to your issue. Current version is v0.116.2

generated by check-issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhance New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant