Skip to content

Replace page_options with context_options for PlaywrightBrowserPlugin #755

@Mantisus

Description

@Mantisus

The page_options parameter worked when pages were created without using context:
https://playwright.dev/python/docs/api/class-browser#browser-new-page

Currently, we are working with context created in PlaywrightBrowserController. When creating a page from context, it doesn't accept any parameters:
https://playwright.dev/python/docs/api/class-browsercontext#browser-context-new-page

These parameters should now be passed when creating the context and therefore be renamed to context_options:
https://playwright.dev/python/docs/api/class-browser#browser-new-context

Metadata

Metadata

Assignees

Labels

bugSomething isn't working.t-toolingIssues with this label are in the ownership of the tooling team.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions