feat(firefox): Page.waitForRequest/Page.waitForResponse (#3989)

Drive-by: refactor `Request.frame()` tests into a separate test suite.
This commit is contained in:
Andrey Lushnikov
2019-02-12 19:10:14 -08:00
committed by GitHub
parent afb9355b15
commit 1890dc04ba
8 changed files with 128 additions and 23 deletions

View File

@@ -97,6 +97,10 @@ const utils = module.exports = {
}
},
isFavicon: function(request) {
return request.url().includes('favicon.ico');
},
/**
* @param {!Page} page
* @param {string} frameId