mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
Merge pull request #24655 from naronA/puppeteer
puppeteer: add missing function setCacheEnable on Page class
This commit is contained in:
Vendored
+6
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user