Merge pull request #24655 from naronA/puppeteer

puppeteer: add missing function setCacheEnable on Page class
This commit is contained in:
Paul van Brenk
2018-04-03 11:09:19 -07:00
committed by GitHub
+6
View File
@@ -1041,6 +1041,12 @@ export interface Page extends EventEmitter, FrameBase {
*/
select(selector: string, ...values: string[]): Promise<string[]>;
/**
* Determines whether cache is enabled on the page.
* @param enabled Whether or not to enable cache on the page.
*/
setCacheEnabled(enabled: boolean): Promise<void>;
/**
* Sets the cookies on the page.
* @param cookies The cookies to set.