diff --git a/lib/ExecutionContext.js b/lib/ExecutionContext.js index d1217a2f959..2a6c9ac2274 100644 --- a/lib/ExecutionContext.js +++ b/lib/ExecutionContext.js @@ -186,6 +186,7 @@ class ExecutionContext { }); const {object} = await this._client.send('DOM.resolveNode', { backendNodeId: nodeInfo.node.backendNodeId, + executionContextId: this._contextId, }); return /** @type {Puppeteer.ElementHandle}*/(createJSHandle(this, object)); }