Skip to content
This repository was archived by the owner on Feb 9, 2023. It is now read-only.

Commit 0da7138

Browse files
committed
fix missing ElementHandle
1 parent 18a1cdb commit 0da7138

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

source/puppeteer/lib/ElementHandle.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import { Prototype } from '../../../typings/chrome-aws-lambda';
44
let Super: Prototype<ElementHandle> = null;
55

66
try {
7-
Super = require('puppeteer/lib/cjs/puppeteer/common/JSHandle.js').ElementHandle;
7+
Super = require('puppeteer/lib/cjs/puppeteer/common/ElementHandle.js').ElementHandle;
88
} catch (error) {
9-
Super = require('puppeteer-core/lib/cjs/puppeteer/common/JSHandle.js').ElementHandle;
9+
Super = require('puppeteer-core/lib/cjs/puppeteer/common/ElementHandle.js').ElementHandle;
1010
}
1111

1212
Super.prototype.clear = function () {

0 commit comments

Comments
 (0)