Can this be used with Playwright? #856
Unanswered
waynerobinson
asked this question in
Q&A
Replies: 2 comments · 3 replies
-
|
You need to change the Playwright user-agent to match the Flaresolverr user-agent. If its not possible you can use Python. |
Beta Was this translation helpful? Give feedback.
3 replies
-
|
Were you able to find out the 'path-to-the-devtools-server' to do the cdp connection? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to use FlareSolverr with Playwright?
I'm using the REST API get the cookies for a specific website and plugging them, along with the user agent into Playwright via the
context.addCookies()method however, it looks like I'm still getting the Cloudflare Waiting Room forhttps://digital.pnbank.com.au/when trying to open that page. Both requests (FlareSolverr and Playwright) are coming from the same IP.Is this even possible to use this way? If so, does someone have any idea what I'm doing wrong?
Could this project be changed to include the developer tools URL or similar of a session? I think that could be used with Playwright or Puppeteer to remote control the browser that just solved the captcha?
If we could get the CDP URL from webdriver we could then connect in Playwright via:
Beta Was this translation helpful? Give feedback.
All reactions