@applitools/driver
Advanced tools
Comparing version 1.4.17-beta.2 to 1.5.0
@@ -5,4 +5,9 @@ # Change Log | ||
## 1.5.0 - 2022/3/6 | ||
- add `waitForSelector` method | ||
- updated to @applitools/types@1.1.0 (from 1.0.25) | ||
- support assigning 'scrollingElement' as 'body' or 'html' dom element | ||
- updated to @applitools/snippets@2.2.0 (from 2.1.15) | ||
- updated to @applitools/types@1.2.0 (from 1.0.25) | ||
@@ -9,0 +14,0 @@ ## 1.4.16 - 2022/2/16 |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -356,3 +356,5 @@ "use strict"; | ||
else { | ||
this._scrollingElement = await this.element(this.driver.isWeb ? { type: 'css', selector: 'html' } : { type: 'xpath', selector: '//*[@scrollable="true"]' }); | ||
const selector = await this.execute(snippets.getDocumentScrollingElement); | ||
this._logger.log(`default SRE is ${selector}`); | ||
this._scrollingElement = await this.element(this.driver.isWeb ? { type: 'css', selector } : { type: 'xpath', selector: '//*[@scrollable="true"]' }); | ||
} | ||
@@ -359,0 +361,0 @@ } |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -61,2 +61,5 @@ "use strict"; | ||
}); | ||
this.mockScript(snippets.getDocumentScrollingElement, async () => { | ||
return 'html'; | ||
}); | ||
this.mockScript(snippets.getChildFramesInfo, () => { | ||
@@ -63,0 +66,0 @@ return Array.from(this._contexts.values()) |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ "use strict"; |
{ | ||
"name": "@applitools/driver", | ||
"version": "1.4.17-beta.2", | ||
"version": "1.5.0", | ||
"description": "Applitools universal framework wrapper", | ||
@@ -76,4 +76,4 @@ "keywords": [ | ||
"dependencies": { | ||
"@applitools/snippets": "2.1.16-beta.0", | ||
"@applitools/types": "1.1.0", | ||
"@applitools/snippets": "2.2.0", | ||
"@applitools/types": "1.2.0", | ||
"@applitools/utils": "1.2.13" | ||
@@ -80,0 +80,0 @@ }, |
@@ -0,0 +0,0 @@ # Driver |
@@ -0,0 +0,0 @@ import type * as types from '@applitools/types'; |
@@ -0,0 +0,0 @@ import type * as types from '@applitools/types'; |
@@ -0,0 +0,0 @@ import type { SpecDriver } from '@applitools/types'; |
export * from './check-spec-driver'; |
@@ -0,0 +0,0 @@ /// <reference types="node" /> |
@@ -0,0 +0,0 @@ import type * as types from '@applitools/types'; |
export { MockDriver } from './mock-driver'; | ||
export { Driver, Element, Selector } from './spec-driver'; | ||
export * as spec from './spec-driver'; |
@@ -0,0 +0,0 @@ export declare class MockDriver { |
@@ -0,0 +0,0 @@ /// <reference types="node" /> |
@@ -0,0 +0,0 @@ import type * as types from '@applitools/types'; |
@@ -0,0 +0,0 @@ import type * as types from '@applitools/types'; |
export * from './driver'; | ||
export * from './context'; | ||
export * from './element'; |
@@ -0,0 +0,0 @@ import type * as types from '@applitools/types'; |
@@ -0,0 +0,0 @@ declare type PlatformInfo = { |
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
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
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 bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
192884
32
2892
+ Added@applitools/snippets@2.2.0(transitive)
+ Added@applitools/types@1.2.0(transitive)
- Removed@applitools/snippets@2.1.16-beta.0(transitive)
- Removed@applitools/types@1.1.0(transitive)
Updated@applitools/snippets@2.2.0
Updated@applitools/types@1.2.0