Skip to content

fix: make it possible to send connect_over_cdp headers#1912

Merged
yury-s merged 1 commit intomainfrom
send-headers-for-cdp
May 11, 2023
Merged

fix: make it possible to send connect_over_cdp headers#1912
yury-s merged 1 commit intomainfrom
send-headers-for-cdp

Conversation

@mxschmitt
Copy link
Copy Markdown
Contributor

Fixes #1910

@mxschmitt mxschmitt requested a review from yury-s May 11, 2023 07:50
headers: Dict[str, str] = None,
) -> Browser:
params = locals_to_params(locals())
if params.get("headers"):
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will that be applied to the sync context as well?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes

@yury-s yury-s merged commit 572a78a into main May 11, 2023
@yury-s yury-s deleted the send-headers-for-cdp branch May 11, 2023 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] playwright._impl._api_types.Error: headers: expected array, got object

3 participants