Something went wrong: Error: .wait() timed out after 30000msec
Closed this issue · 8 comments
I have tried to use the bot but for some reason I receive this email:
Something went wrong: Error: .wait() timed out after 30000msec
Things must have changed ^^,
Probably the selectors have been changed and should be updated accordingly. Unfortunately, I didn't touch this project for 3 years.
Of course, you don't need it anymore.
I have checked all selectors, and the only one that was broken can be fixed with:
- const el = document.querySelector('#top-cards span.-count');
+ const el = document.querySelector('#top-cards .js-highlight-box-badges span.fs-caption.grid--cell');
This should not cause the timeout error.
I am open for PR :)
I've just noticed the { show: true }
for nightmare, I will test again and PR.
Also, I will test it within Docker
so it can be deployed quickly anywhere, are you interested?
Also, I will test it within
Docker
so it can be deployed quickly anywhere, are you interested?
Sure, why not.
thanks
Thanks to you ^^,
Too bad, unfortunately, I have tested the script and it work fine when I run it manually in terminal with x11 environment.
However, it does not run with crontab
, probably because there is no x11 environment. It does not run on a server either for the same reason. This means it also can't work within docker.
It is anyway thank you for your contribution!