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

Outdated selectors #7

Open
foxyseta opened this issue Jul 1, 2023 · 1 comment
Open

Outdated selectors #7

foxyseta opened this issue Jul 1, 2023 · 1 comment

Comments

@foxyseta
Copy link

foxyseta commented Jul 1, 2023

Is it just me or the selectors this project relies on just aren't valid for the current kamernet.nl anymore?

TimeoutError: waiting for selector `#login-button` failed: timeout 30000ms exceeded

If I insect the relevant page, #login-button does not seem to be found anywhere.

@JulesPad
Copy link

I am running into the same problems, I have tried more complex ones but it still doesn't work on my end. Might be a security layer, or I am just bad at this xD.

That's a shame I have added ChatGPT that adapts to description while writing the messages.

Here is what I have tried so far:
await page.waitForXPath('//div[@class="HeaderDesktop_navLink_aPKAN"]/a[contains(@href, "/en/user/login")]', { timeout: 30000 });

let loginButton = await page.$x('//div[@class="HeaderDesktop_navLink_aPKAN"]/a[contains(@href, "/en/user/login")]');

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

2 participants