invisible_playwright/scripts
feder-cr 2dd2224e73 ci: drive gate uses arrow-function evaluates (fixes win-CI eval-CSP block)
windows-latest failed both attempts with "Page.evaluate: call to eval() blocked
by CSP". Bare-string evaluates (page.evaluate("navigator.userAgent")) make
Playwright fall back to eval(), which a page CSP blocks. Pass arrow functions
instead (called via callFunction, never eval'd), and wire the click listener
with addEventListener instead of an inline onclick (also CSP-sensitive). Both
are Playwright best practice and platform-agnostic.
2026-06-09 14:47:02 +02:00
..
audit_cpt_realism.py feat: initial public release 2026-05-12 22:32:58 -07:00
ci_drive_gate.py ci: drive gate uses arrow-function evaluates (fixes win-CI eval-CSP block) 2026-06-09 14:47:02 +02:00