Skip to content

Commit 42cad40

Browse files
committed
Missed a test in c74070a
1 parent c74070a commit 42cad40

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

javascript/webdriver/test/until_test.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,19 @@ goog.require('bot.response');
2121
goog.require('goog.array');
2222
goog.require('goog.string');
2323
goog.require('goog.testing.jsunit');
24+
goog.require('goog.userAgent');
2425
goog.require('webdriver.By');
2526
goog.require('webdriver.CommandName');
2627
goog.require('webdriver.WebDriver');
2728
goog.require('webdriver.WebElement');
2829
goog.require('webdriver.WebElementPromise');
2930
goog.require('webdriver.until');
3031

32+
function shouldRunTests() {
33+
return !goog.userAgent.IE || goog.userAgent.isVersionOrHigher(10);
34+
}
35+
36+
3137
var By = webdriver.By;
3238
var until = webdriver.until;
3339
var CommandName = webdriver.CommandName;

0 commit comments

Comments
 (0)