DEV Community

zhuang quan
zhuang quan

Posted on

Playwright stealth (drop webdriver traces)

I kept running into this: Playwright gets detected by anti-bot immediately.

Playwright got detected by anti-bot instantly — couldn't even load the homepage. Took me a while to realize the webdriver traces gave it away.

Ended up wrapping a small reusable workflow around it — Playwright stealth (drop webdriver traces). The part that actually saved me time: Remove automation flags + randomize fingerprint.

Concretely, it:

  • strips Playwright webdriver flags
  • random fingerprint, evades detection

Put it (and ~20 other similar ones) in a repo in case it helps someone: https://github.com/shuangying0001-beep/awesome-workbuddy-skills

Top comments (0)