8000 Poll for dillo window during HTML tests by campaul · Pull Request #402 · dillo-browser/dillo · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Poll for dillo window during HTML tests #402

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

campaul
Copy link
Contributor
@campaul campaul commented May 24, 2025

This updates the html test driver to poll for the window instead of always waiting for a full second. It also continues to poll for much longer than 1 second. This accomplishes two things:

  1. The tests will run faster on fast computers
  2. The tests are now able to run on slower computers for which 1 second wasn't enough of a delay

@rodarima
Copy link
Member
rodarima commented Jun 2, 2025

I have a WIP patch to add a CLI tool to remote control Dillo which solves this problem by waiting until the page loads (or a timeout occurs). But we can merge this in the meanwhile. I'll need to check that all my old devices don't cause false negatives due to the reduction of the sleep time between the window appears and the rendering ends from 1 to 1/4 seconds.

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

Successfully merging this pull request may close these issues.

2 participants
0