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: add setRequestInterception #1312

Merged
merged 1 commit into from
Dec 11, 2020
Merged

fix: add setRequestInterception #1312

merged 1 commit into from
Dec 11, 2020

Conversation

xeaon
Copy link
Contributor

@xeaon xeaon commented Dec 10, 2020

Description

fixes #1311
Fixes #826

stops puppeteer exiting with exitcode 1

please head over to #1311 to see the detailed description

Testing

couldn't run streetmerchant 24/7 without await page.setRequestInterception(true);

New dependencies

no new dependencies

@xeaon xeaon requested a review from jef as a code owner December 10, 2020 07:05
@xeaon xeaon changed the title add setRequestInterception fix: add setRequestInterception to prevent Error: Request Interception is not enabled! Dec 10, 2020
Copy link
Owner

@jef jef left a comment

Choose a reason for hiding this comment

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

Wow... Thank you very much. I appreciate you looking into this.

For our logs: https://pptr.dev/#?product=Puppeteer&version=v5.5.0&show=api-pagesetrequestinterceptionvalue

@jef jef changed the title fix: add setRequestInterception to prevent Error: Request Interception is not enabled! fix: add setRequestInterception Dec 11, 2020
@jef jef merged commit a44621f into jef:main Dec 11, 2020
@xeaon xeaon deleted the patch-4 branch December 11, 2020 11:55
ven0ms99 pushed a commit to ven0ms99/streetmerchant that referenced this pull request Dec 11, 2020
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.

Error: Request Interception is not enabled! Request Interception is not enabled!
2 participants