URL: http://github.com/devlikeapro/waha/commit/ff742d2e844ae0b7fce6e3ed222eb8a30ecca9d0
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10bd4d6 commit ff742d2Copy full SHA for ff742d2
src/core/engines/webjs/WPage.ts
@@ -99,6 +99,19 @@ export class WPage extends EventEmitter {
99
}
100
101
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
+
115
async reload(options?: any): Promise<any> {
116
try {
117
return await this.page.reload(options);
0 commit comments