pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/devlikeapro/waha/commit/ff742d2e844ae0b7fce6e3ed222eb8a30ecca9d0

157469407.css" /> [core] WEBJS - add removeExposedFunction WPage · devlikeapro/waha@ff742d2 · GitHub
Skip to content

Commit ff742d2

Browse files
committed
[core] WEBJS - add removeExposedFunction WPage
1 parent 10bd4d6 commit ff742d2

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/core/engines/webjs/WPage.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,19 @@ export class WPage extends EventEmitter {
9999
}
100100
}
101101

102+
// removeExposedFunction
103+
async removeExposedFunction(name: string) {
104+
try {
105+
return await this.page.removeExposedFunction(name);
106+
} catch (err) {
107+
this.emit(PAGE_CALL_ERROR_EVENT, {
108+
method: 'removeExposedFunction',
109+
error: err,
110+
});
111+
throw err;
112+
}
113+
}
114+
102115
async reload(options?: any): Promise<any> {
103116
try {
104117
return await this.page.reload(options);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy