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

fix: specify the target filter in setDiscoverTargets #8742

Merged
merged 1 commit into from
Aug 4, 2022
Merged

Conversation

OrKoN
Copy link
Collaborator

@OrKoN OrKoN commented Aug 4, 2022

To stay compatible with the next version of Chromium.
See https://chromedevtools.github.io/devtools-protocol/tot/Target/#method-setDiscoverTargets

@OrKoN OrKoN requested a review from jrandolf-2 August 4, 2022 10:55
this.#connection.send('Target.setDiscoverTargets', {
discover: true,
filter: [{type: 'tab', exclude: true}, {}],
} as any);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

happy to type it out as an explicit type but I guess any is okay as it's only till the next roll

@OrKoN OrKoN enabled auto-merge (squash) August 4, 2022 11:26
@OrKoN OrKoN merged commit 49193cb into main Aug 4, 2022
@OrKoN OrKoN deleted the fix-next-chromium branch August 4, 2022 11:46
YusukeIwaki added a commit to YusukeIwaki/puppeteer-ruby that referenced this pull request Sep 17, 2022
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.

2 participants