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

cached_selectors always fail #97

Open
RacoJo opened this issue Jan 9, 2025 · 0 comments
Open

cached_selectors always fail #97

RacoJo opened this issue Jan 9, 2025 · 0 comments

Comments

@RacoJo
Copy link

RacoJo commented Jan 9, 2025

Hi,

I really like this project, the big problem I have is that it is really expensive since every time the cached_selectors or other caching failed.

This is the logs i have :

20:11:40.578 | DEBUG | Attempting to use cached selectors with backoff
20:11:40.578 | INFO | cached_selectors attempt 1 failed. Sleeping for 0.15 seconds
20:11:40.729 | INFO | cached_selectors attempt 2 failed. Sleeping for 0.45 seconds
20:11:41.179 | INFO | cached_selectors attempt 3 failed. Sleeping for 1.00 seconds
20:11:42.180 | INFO | cached_selectors attempt 4 failed. Sleeping for 2.00 seconds
20:11:44.180 | INFO | cached_selectors attempt 5 failed. Sleeping for 4.00 seconds
20:11:48.180 | ERROR | Timeout reached after 7.60 seconds
20:11:48.180 | INFO | Proceeding to use the find element agent to find the requested elements.

Everything work when it ask the agent but I find it quite expensive for my usecase.

Is there a way to get the cache used ?

It fail in my auth :
await browser.fill("E-mail field", value="myemail.com")

(Because i can't get the auth methode working for my website.)

Thanks

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

1 participant