nancy6547.github.io / demos / zeitaku

Zeitaku playground

Paste a Playwright test. Zeitaku parses it with the TypeScript compiler, finds every hard-coded waitForTimeout, checks whether each sleep is guarding a "should NOT happen" assertion, and rewrites only the safe ones into a network-aware wait. Everything runs in your browser; nothing is uploaded.

Your test

Loading the TypeScript compiler…

After zeitaku fix


    

Green: replaced with __zeitaku.idle(page), which continues when the page's network is actually quiet. Amber: left alone on purpose.

Every sleep found