Skip to content

Commit ed852ac

Browse files
committed
Removes target destroyed handler.
1 parent 2f79cb2 commit ed852ac

1 file changed

Lines changed: 0 additions & 20 deletions

File tree

index.js

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -107,26 +107,6 @@ class Plugin extends PuppeteerExtraPlugin {
107107
page.waitUntilAngularReady = Wait.untilAngularReady.bind(page);
108108
this.logger.debug('onPageCreated');
109109
}
110-
111-
/**
112-
* @private
113-
*/
114-
async onTargetDestroyed (target) {
115-
const page = await target.page();
116-
if (page) {
117-
page.clickIfExists = null;
118-
page.formFillOut = null;
119-
page.navigateUntilReady = null;
120-
page.toggleCheck = null;
121-
page.toggleDeselectByText = null;
122-
page.toggleSelectByText = null;
123-
page.toggleUncheck = null;
124-
page.typeIfExists = null;
125-
page.waitUntilActionReady = null;
126-
page.waitUntilAngularReady = null;
127-
this.logger.debug('onPageDestroyed');
128-
}
129-
}
130110
}
131111

132112
module.exports = pluginConfig => new Plugin(pluginConfig);

0 commit comments

Comments
 (0)