Standard consumer browser
Evaluating typeof window.__pwInitScripts returns 'undefined', confirming that no Playwright initialization script harness is attached to the page window.
BotRefund checks window.__pwInitScripts directly in the global page scope to detect Playwright initialization-script execution with high confidence.
The browser automation probe inspects the global window object directly to check whether window.__pwInitScripts is defined in the page scope. Rather than measuring initialization script execution timing, the check tests specifically for the presence of this runtime binding.
When window.__pwInitScripts is anything other than undefined, the collector records a positive framework-marker signal inside the session telemetry payload for server-side automation evaluation.
Playwright injects window.__pwInitScripts internally to coordinate scripts registered through context.addInitScript() or page.addInitScript(). Standard consumer Chrome, Safari, Firefox, and Edge browsers never define this global property during normal browsing.
Because __pwInitScripts originates directly from Playwright's script-injection harness rather than any legitimate consumer extension or accessibility tool, detecting it provides deterministic attribution of Playwright browser instrumentation.
Evaluating typeof window.__pwInitScripts returns 'undefined', confirming that no Playwright initialization script harness is attached to the page window.
A Playwright browser executing injected initialization scripts leaves window.__pwInitScripts defined on window, producing a high-confidence automation framework signature.
Forensic significance: Strong standalone indicator of Playwright automation; analysts still review interaction and environment signals together when inspecting unusual developer sessions.