Closed waelbenmustapha closed 2 weeks ago
so im currently digging into it , and seems like the
const elements = await page.$$('iframe');
in the checkStat function , doesn't detect the iframe , it always returns 0 iframes when in the cloudflare screen
still digging and i think the iframe is not getting targeted because of #shadow-root (closed)
@waelbenmustapha First of all try this to check if the automate click is working
https://github.com/zfcsoftware/puppeteer-real-browser/issues/80#issuecomment-2205737725
@waelbenmustapha First of all try this to check if the automate click is working
https://github.com/zfcsoftware/puppeteer-real-browser/issues/80#issuecomment-2205737725
I tried and i faced same issue .
@waelbenmustapha First of all try this to check if the automate click is working https://github.com/zfcsoftware/puppeteer-real-browser/issues/80#issuecomment-2205737725
I tried and i faced same issue .
https://github.com/zfcsoftware/puppeteer-real-browser/issues/80#issuecomment-2211829757
@waelbenmustapha First of all try this to check if the automate click is working https://github.com/zfcsoftware/puppeteer-real-browser/issues/80#issuecomment-2205737725
I tried and i faced same issue .
Did you find a solution for the your issue ?
@waelbenmustapha First of all try this to check if the automate click is working https://github.com/zfcsoftware/puppeteer-real-browser/issues/80#issuecomment-2205737725
I tried and i faced same issue .
Did you find a solution for the your issue ?
for me i kinda followed the idea they had but simpler solution , for me it's just one page that i need scrapping and the captcha always appear at the same screen ,
so i just added a mouse click like this
page.setViewport({ width: 800, height: 1000 });
...
await page.mouse.move(55, 325);
// Click at the desired coordinates
await page.mouse.click(55, 325);
@waelbenmustapha First of all try this to check if the automate click is working https://github.com/zfcsoftware/puppeteer-real-browser/issues/80#issuecomment-2205737725
I tried and i faced same issue .
also btw , i did a small trick that might help you , pretty much change the closed shadow root to open shadow root , which allows us to get the checkbox and click it ,
but i faced few issues with it , that when you click it it doesn't work anymore , it gets stuck the captcha ,
i just wanted to share the idea
hat when you click it it doesn't work
Have you Discord or something? to figure it out together and proceed to a solution ?
The problem should be solved. Please test with the latest version.
The problem should be solved. Please test with the latest version.
Thank you , good solution you did there
Not sure why , but i had a code that have been working perfectly for a week , today randomly it stopped working , turned out the Turnstile , cloudflare checkbox is not being clicked anymore , if i click it manually all good , but the browser can't auto click it anymore .
is it just me ?