-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
[WebDriverJS] - Control flow out of order inside forEach #444
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
Labels
I-defect
Something is not working as intended
Comments
Further reduced to:
Which results in
|
This was referenced May 15, 2015
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We've run into a complex case where the control flow can get out of order when using
webdriver.WebElement.prototype.findElement
inside aforEach
. Here is the a reduced case using only the control flow:The output is:
See angular/protractor#2026 for the practical use case that surfaced this issue.
WebDriverJS is version 2.45.1
This works as expected with version 2.44.0
The text was updated successfully, but these errors were encountered: