dendrite-python-sdk icon indicating copy to clipboard operation
dendrite-python-sdk copied to clipboard

cached_selectors always fail

Open RacoJo opened this issue 10 months ago • 0 comments
trafficstars

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

RacoJo avatar Jan 09 '25 19:01 RacoJo