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 ourterms of serviceand privacy statement.We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(webdriver): add postData,hasPostData,resourceType from cdp-over-bidi #12739

Merged
merged 1 commit into from
Jul 12, 2024

Conversation

OrKoN
Copy link
Collaborator

@OrKoN OrKoN commented Jul 12, 2024

No description provided.

@OrKoN OrKoN force-pushed the orkon/post-data-resource-type branch from 1e8b9a2 to ba0181f Compare July 12, 2024 07:40
@OrKoN OrKoN enabled auto-merge (squash) July 12, 2024 07:47

get postData(): string {
// @ts-expect-error non-standard attribute.
return this.#event['goog:postData']?? '';
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think the Puppeteer API expects undefined if not present.

Suggested change
returnthis.#event['goog:postData']??'';
returnthis.#event['goog:postData']??undefined;

@OrKoN OrKoN merged commitdc5379e into main Jul 12, 2024
37 checks passed
@OrKoN OrKoN deleted the orkon/post-data-resource-type branch July 12, 2024 09:10
@release-please release-please bot mentioned this pull request Jul 12, 2024
@OrKoN OrKoN mentioned this pull request Jul 12, 2024
32 tasks
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.

None yet

2 participants