-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
To Disable WebDriverJS promise manager for Selenium v3.0 #72
Labels
Comments
huan
added a commit
that referenced
this issue
Nov 5, 2016
nothing significantly changed after did this... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Selenium WebDriver 3.0 introduced a new environment variable named
SELENIUM_PROMISE_MANAGER
to disable theControlFlow
inside selenium, which is not necessary when we useasync
/await
: SeleniumHQ/selenium#2969This is according to an old bug which related with selenium webdriver 2.x non-standard promise, submit by me: SeleniumHQ/selenium#2233
And here's another issue related to this: angular/jasminewd#59
So what we need to do is to test Wechaty PuppetWeb with
SELENIUM_PROMISE_MANAGER
set to0
I hope this can make some strange bug disappear, for example, sometimes
BrowserDriver
getChromeDriver
will hang when calling selenium in unit tests in the last serval months, which will cause the unit test fail with no reason.The text was updated successfully, but these errors were encountered: