X_SCRAPE_SECRET_EXPOSED
Means
an artifact would have carried a secret this run typed
Typical cause
terminal. A screenshot or a video was requested after a secret was typed into the page, and pixels cannot be redacted afterwards. Refused rather than captured-and-scrubbed
Fix
call artifact.html() instead — page HTML is redacted by value and password fields are blanked — or take the capture before the secret is typed