Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@applitools/driver

Package Overview
Dependencies
Maintainers
24
Versions
218
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@applitools/driver - npm Package Compare versions

Comparing version 1.4.17-beta.2 to 1.5.0

7

CHANGELOG.md

@@ -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";

4

dist/context.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc