---
title: "Discussion on \"Handling Turnstile in Playwright and Puppeteer\" | Hashnode"
description: "Discussion on \"Handling Turnstile in Playwright and Puppeteer\". Turnstile stalls under headless automation. Two ways to get past it in Playwright and Puppeteer, including injecting a solved token into the form."
url: "https://hashnode.com/posts/handling-turnstile-in-playwright-and-puppeteer/6b0145575b1ecb3093a954ef"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Handling Turnstile in Playwright and Puppeteer](https://peakfo.hashnode.dev/handling-turnstile-in-playwright-and-puppeteer?utm_source=hashnode&utm_medium=feed)

Turnstile stalls under headless automation. Two ways to get past it in Playwright and Puppeteer, including injecting a solved token into the form.

Nov 21 · 4 min read · peakfo.hashnode.dev  
Read the article

-   [#cloudflare](https://hashnode.com/tag/cloudflare)
-   [#web-scraping](https://hashnode.com/tag/web-scraping)
-   [#playwright](https://hashnode.com/tag/playwright)
-   [#puppeteer](https://hashnode.com/tag/puppeteer)

## Written by

[Peak](https://hashnode.com/@peakfo)

@peakfo

  
[View profile](https://hashnode.com/@peakfo)

Cloudflare Turnstile solving API for developers. Notes on Turnstile, cf\_clearance, and scraping behind Cloudflare. peak.fo

Peak is a Cloudflare Turnstile and 5-second challenge solving API. This blog covers how Turnstile works, why scrapers get 403s, and how to handle cf\_clearance and cf-turnstile-response tokens. Open-source wrappers for Scrapy, Playwright, Selenium and Puppeteer live on GitHub.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
