Skyvern-AI / Skyvern-AI/rustwright
[Bug]: Cloudflare verification loop only on rustwright, playwright succeeds
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 890
- Forks
- 58
- Avg merge
- 20h 29m
- Merged PRs (30d)
- 12
Description
What happened?
On this site https://pioneercommunityenergy.org/ if I'm using rustwright then it gets stuck in a cloudflare loop. If I just change back to playwright then it works
Reproduction
from rustwright.async_api import async_playwright
playwright = await async_playwright().start()
PLAYWRIGHT_CHROMIUM = "path/to/chromium"
browser = await playwright.chromium.launch(
executable_path=PLAYWRIGHT_CHROMIUM, headless=False
)
url = "https://pioneercommunityenergy.org/"
context = await browser.new_context()
page = await context.new_page()
await page.goto(url)
If I import from playwright.async_api import async_playwright and the rest is the same then it works.
Expected behavior
I would expect it to work in the same cases where playwright worked using the same browser binary path
Environment
- OS: WSL2 Ubuntu 22.04.4 LTS
- Python version: 3.14
- Rust version: n/a
- Node version, if relevant: n/a
- Browser: chromium-1223/chrome-linux64
- Rustwright commit: Version: 0.2.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the minimal Python reproduction using async_playwright, chromium.launch, and the stated Chromium binary against pioneercommunityenergy.org; compare its behavior with the equivalent Playwright import. Trace the browser or context setup involved in navigation and verify that the site no longer enters a Cloudflare verification loop while the Playwright comparison continues to work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, rust
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100