Playwright's onceDialog Saved Me From a Handler Leak
Why onDialog silently swallowed a logout confirmation and how onceDialog prevents permanent dialog handlers from firing on dialogs they were never meant for.
Hi, I'm
Senior SDET specializing in test automation at enterprise scale
10+ years at Fortune 500 companies — Telecom, Insurance, Retail, Financial Services
I write about test automation, CI/CD pipelines, Java, and QA best practices. Building quality into software, one test at a time.
Why onDialog silently swallowed a logout confirmation and how onceDialog prevents permanent dialog handlers from firing on dialogs they were never meant for.
How UnhandledAlertException broke 8-thread parallel execution and why Playwright's event-driven dialog model avoids that entire failure pattern in practice.
Enterprise GitHub Copilot stuck on an older model? Three files give it project context, reusable prompts, and path-specific rules that improve output.
Enterprises lock teams into outdated AI models for safety. The irony? Older, less capable models produce worse code and create more risk than they prevent.
I automated my enterprise VPN login with Python and saved 10+ hours a year. But the real win wasn't time — it was the focus and brain energy I never got back.
Five real ways I use Windows Task Scheduler to keep an enterprise Playwright automation server healthy — from nightly test runs to disk alerts and cleanup.