We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
await page.setRequestInterception(true);
Hello,
on Puppeteer, you can do:
page = await browser.newPage(); await page.setRequestInterception(true); page.on('request', (request) => { if (['image', 'stylesheet', 'font', 'script'].indexOf(request.resourceType()) !== -1) { request.abort(); } else { request.continue(); } });
To prevent downloading unwanted assets, how can I do that on Astral?
The text was updated successfully, but these errors were encountered:
I'm working on a nice API for this, but this is doable right now via the celestial bindings.
Sorry, something went wrong.
No branches or pull requests
Hello,
on Puppeteer, you can do:
To prevent downloading unwanted assets, how can I do that on Astral?
The text was updated successfully, but these errors were encountered: