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

Can I set a fixed delay time? time.sleep doesn't work, and screenshots occasionally hang blocking tasks #146

Open
zzy-life opened this issue Apr 30, 2024 · 5 comments

Comments

@zzy-life
Copy link

zzy-life commented Apr 30, 2024

Can I set a fixed delay time? Because the vue page has not rendered the code yet and the screenshot is taken.

@kafisatz
Copy link

I have the same issue.
How did you solve this @zzy-life ?

@zzy-life
Copy link
Author

I have the same issue. How did you solve this @zzy-life ?

I haven't found a solution. Setting --virtual-time-budget=10000 doesn't seem to work.

@kafisatz
Copy link

I have no solution yet. But thanks for bringing up this option!
A workaround might be to add a manual time.sleep(10) command in your python script

@zzy-life
Copy link
Author

I have no solution yet. But thanks for bringing up this option! A workaround might be to add a manual time.sleep(10) command in your python script

This doesn't seem to work. I have ten tasks, and using time.sleep doesn't allow each task to have a 10s interval.

@zzy-life
Copy link
Author

I have no solution yet. But thanks for bringing up this option! A workaround might be to add a manual time.sleep(10) command in your python script

And in practice, the screenshot task occasionally hangs and gets blocked, probably because my server configuration is too low: 2 cores 2g

@zzy-life zzy-life changed the title Can I set a fixed delay time? Can I set a fixed delay time? time.sleep doesn't work, and screenshots occasionally hang blocking tasks Dec 22, 2024
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