Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

waitForSelector Not working after cloudflare #270

Open
Anish0612 opened this issue Jan 20, 2025 · 3 comments
Open

waitForSelector Not working after cloudflare #270

Anish0612 opened this issue Jan 20, 2025 · 3 comments

Comments

@Anish0612
Copy link

waitForSelector doesn't working after bypass cloudflare

@RubberArchind
Copy link

can you give more details?

@sgtghost
Copy link

Aghhh it is a known issue with the modified puppeteer used in the project. Without having Runtime.enable, all added bindings will be cleared after the page is refreshed, which essentially means your puppeteer is interacting with a blank web page.

@Anish0612
Copy link
Author

can you give more details?

for example
await page.goto('https://gitlab.com/users/sign_in')
await page.waitForSelector("#user_login", { timeout: 60000 })

Even through page is fully loaded but still we getting this error
TimeoutError: Waiting for selector #user_login failed: Waiting failed: 60000ms exceeded

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants