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

CWebDriverTestCase uses 'sleep' with non-integer parm, which won't work as expected #20

Open
GoogleCodeExporter opened this issue Aug 27, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Conduct an operation which will take some time to happen (such as getElement 
or isTextPresent
2. Note in selenium output that the attempts are re-executed at a higher 
frequency than the half second stipulated by protected $waiting_time = 0.5;

Replace (two occurrences of)
                sleep( $this->waiting_time );
with
                usleep($this->waiting_time * 1000000);
and that should work as expected.

Original issue reported on code.google.com by [email protected] on 5 Jan 2012 at 12:55

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant