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
{{ message }}
Repository navigation
Bug: 'acquireContextId failed' on certain pages #100
When using the patches with Puppeteer (both 24.8.1), this page https://www.gbl.com/en consistently gets the following error. I have the same issue both on Mac and Linux.
Root cause found. gbl.com/en (and yara.com from #116) reassign the global self, and the patch's context handshake called self[...], so it never received the context id. This affects both Puppeteer and Playwright. With #132 the patch finds the context without running anything in the page, so page globals can't break it (the fallback handshake uses window, which pages can't redefine). There's a regression test for it. Both sites work with it. Ships in the next release.
Released in v1.1.1: rebrowser-puppeteer-core / rebrowser-puppeteer25.14.100, rebrowser-playwright-core / rebrowser-playwright1.64.100, and rebrowser-playwright1.64.100 on PyPI. (npm doesn't allow re-publishing 25.14.0 / 1.64.1, so this fix release uses .100.) gbl.com and yara.com work now: the patch finds the page's context without running anything in the page. Closing.
Activity
rebrowsernet commentedon Oct 18, 2026
Root cause found.
gbl.com/en(andyara.comfrom #116) reassign the globalself, and the patch's context handshake calledself[...], so it never received the context id. This affects both Puppeteer and Playwright. With #132 the patch finds the context without running anything in the page, so page globals can't break it (the fallback handshake useswindow, which pages can't redefine). There's a regression test for it. Both sites work with it. Ships in the next release.rebrowsernet commentedon Oct 18, 2026
Released in v1.1.1:
rebrowser-puppeteer-core/rebrowser-puppeteer25.14.100,rebrowser-playwright-core/rebrowser-playwright1.64.100, andrebrowser-playwright1.64.100 on PyPI. (npm doesn't allow re-publishing 25.14.0 / 1.64.1, so this fix release uses.100.)gbl.comandyara.comwork now: the patch finds the page's context without running anything in the page. Closing.