You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In puppeteer/puppeteer#8844, which was released as part of Puppeteer v17, the execution context has been marked internal, so this access is no longer possible.
To Reproduce
If you do something like this, this will break with Puppeteer v17:
馃悰 Bug Report
expect-puppeteer
usesElementHandle.executionContext()
to get thepage
object from a givenElementHandle
:https://github.com/smooth-code/jest-puppeteer/blob/a7b569351fc6be97f6e24b6f2967d47ddd6f4329/packages/expect-puppeteer/src/utils.js#L24-L30
In puppeteer/puppeteer#8844, which was released as part of Puppeteer v17, the execution context has been marked internal, so this access is no longer possible.
To Reproduce
If you do something like this, this will break with Puppeteer v17:
Getting errors like this:
Expected behavior
There needs to be either a workaround to ensure compatibility or a new major release removing support for this usage if this is no longer possible.
Link to repl or repo (highly encouraged)
Please provide a minimal repository on GitHub.
Issues without a reproduction link are likely to stall.
Run
npx envinfo --system --binaries --npmPackages expect-puppeteer,jest-dev-server,jest-environment-puppeteer,jest-puppeteer,spawnd --markdown --clipboard
Paste the results here:
The text was updated successfully, but these errors were encountered: