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

Randomize delay between connects? #4

Open
metaperl opened this issue Sep 15, 2020 · 4 comments
Open

Randomize delay between connects? #4

metaperl opened this issue Sep 15, 2020 · 4 comments

Comments

@metaperl
Copy link

Have you thought about having the about of time slept between various actions be a random number within a range of seconds? This way, the behavior seems more human.

@sandeepnegi1996
Copy link

yes, I agree it looks more like more human to me, we can create random sleep by taking a random number form 1-10 and then use that number in the sleep

@AkshaySiwal
Copy link
Owner

Thanks @metaperl and @sandeepnegi1996 , I will add this too.

@prabaljainn
Copy link

but what if the page loads in 6 sec and the sleep is of 5 sec, it will throw an exception noSuchElement found, btw i have an solution for this i wrote try and except block of code which ensures if there is element present or not and if no such element is present it will sleep for 2 sec then again try for that try block; look how i implimented in my small script of linkedin
image

should i improve your code and merge to this repo?

@metaperl
Copy link
Author

metaperl commented Jul 28, 2021 via email

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

4 participants