Files
CloakBrowser/tests
berce 9dd63a27f0 fix(humanize): accept a compiled Playwright in the internals check (#583)
_check_playwright() looked for `_frame` in
ElementHandle.__init__.__code__.co_names. In a compiled build (e.g.
Nuitka) that code object is a placeholder, so a supported Playwright was
reported as "missing internals: ElementHandle._frame" and every
humanized launch failed.

Only read bytecode from plain Python functions; anything else is left to
the version check.
2026-10-10 23:40:09 +02:00
..