selenium-webdriver
Advanced tools
Comparing version 2.29.0 to 2.29.1
@@ -74,3 +74,3 @@ // Copyright 2011 Software Freedom Conservancy. All Rights Reserved. | ||
var path = this.options_.path; | ||
if (path.lastIndexOf('/', 0) === 0 && httpRequest.path[0] === '/') { | ||
if (path[path.length - 1] === '/' && httpRequest.path[0] === '/') { | ||
path += httpRequest.path.substring(1); | ||
@@ -77,0 +77,0 @@ } else { |
@@ -1155,3 +1155,3 @@ // Copyright 2011 Software Freedom Conservancy. All Rights Reserved. | ||
var result = self.runInNewFrame_(condition, true); | ||
return webdriver.promise.when(result, function(value) { | ||
webdriver.promise.asap(result, function(value) { | ||
var elapsed = goog.now() - startTime; | ||
@@ -1466,3 +1466,2 @@ if (!!value) { | ||
var pendingRejections = this.pendingRejections_; | ||
try { | ||
@@ -1478,7 +1477,5 @@ this.schedulingFrame_ = newFrame; | ||
// If there was nothing scheduled in the new frame, and there are no | ||
// potentially unhandled rejections, we can discard the frame and return | ||
// immediately. | ||
if (!newFrame.children_.length && | ||
pendingRejections >= this.pendingRejections_) { | ||
// If there was nothing scheduled in the new frame we can discard the | ||
// frame and return immediately. | ||
if (!newFrame.children_.length) { | ||
removeNewFrame(); | ||
@@ -1485,0 +1482,0 @@ return result; |
{ | ||
"name": "selenium-webdriver", | ||
"version": "2.29.0", | ||
"version": "2.29.1", | ||
"description": "The official WebDriver JavaScript bindings from the Selenium project", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
603434
43
0
31
15533