@applitools/driver
Advanced tools
Comparing version 1.5.1 to 1.5.2
@@ -6,2 +6,6 @@ # Change Log | ||
## 1.5.2 - 2022/3/7 | ||
- exclude iOS Safari from dynamic SRE calculation | ||
## 1.5.1 - 2022/3/7 | ||
@@ -8,0 +12,0 @@ |
@@ -356,4 +356,5 @@ "use strict"; | ||
else if (this.driver.isWeb) { | ||
const selector = await this.execute(snippets.getDocumentScrollingElement); | ||
this._logger.log(`default SRE is ${selector}`); | ||
const isIOS = this.driver.isIOS; | ||
const selector = isIOS ? 'html' : await this.execute(snippets.getDocumentScrollingElement); | ||
this._logger.log(`default SRE is ${selector}${isIOS ? ' (because Safari on iOS)' : ''}`); | ||
this._scrollingElement = await this.element({ type: 'css', selector }); | ||
@@ -360,0 +361,0 @@ } |
{ | ||
"name": "@applitools/driver", | ||
"version": "1.5.1", | ||
"version": "1.5.2", | ||
"description": "Applitools universal framework wrapper", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
193227
2896