mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
feat(firefox): basic request interception support (#4034)
This patch implements `page.setRequestInterception`, `page.continue` and `page.abort` methods.
This commit is contained in:
@@ -69,7 +69,7 @@ module.exports.addTests = function({testRunner, expect, defaultBrowserOptions, p
|
||||
expect(error).toBe(null);
|
||||
expect(response.ok()).toBe(true);
|
||||
});
|
||||
it_fails_ffox('should work with request interception', async({page, server, httpsServer}) => {
|
||||
it('should work with request interception', async({page, server, httpsServer}) => {
|
||||
await page.setRequestInterception(true);
|
||||
page.on('request', request => request.continue());
|
||||
const response = await page.goto(httpsServer.EMPTY_PAGE);
|
||||
|
||||
Reference in New Issue
Block a user