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

@applitools/driver

Package Overview
Dependencies
Maintainers
34
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.11.23 to 1.11.24

1

dist/capabilities.js

@@ -18,2 +18,3 @@ "use strict";

isChrome: isChrome(capabilities),
isExecutionGridClient: Boolean(capabilities.applitools),
};

@@ -20,0 +21,0 @@ if (info.isMobile) {

@@ -162,2 +162,16 @@ "use strict";

}
get sessionId() {
var _a;
return (_a = this._driverInfo) === null || _a === void 0 ? void 0 : _a.sessionId;
}
get isExecutionGridClient() {
var _a;
return !!((_a = this._driverInfo) === null || _a === void 0 ? void 0 : _a.isExecutionGridClient);
}
get isExecutionGrid() {
var _a, _b;
if (this.isExecutionGridClient)
return true;
return /exec-wus.applitools.com/.test((_b = (_a = this._spec) === null || _a === void 0 ? void 0 : _a.extractHostName) === null || _b === void 0 ? void 0 : _b.call(_a, this.target));
}
updateCurrentContext(context) {

@@ -399,2 +413,7 @@ this._currentContext = context;

// end world
async getSessionMetadata() {
var _a;
if (this.isExecutionGridClient)
return await ((_a = this._spec) === null || _a === void 0 ? void 0 : _a.getSessionMetadata(this.target));
}
async refreshContexts() {

@@ -401,0 +420,0 @@ if (this.isNative)

6

package.json
{
"name": "@applitools/driver",
"version": "1.11.23",
"version": "1.11.24",
"description": "Applitools universal framework wrapper",

@@ -90,5 +90,5 @@ "keywords": [

"dependencies": {
"@applitools/logger": "1.1.38",
"@applitools/logger": "1.1.39",
"@applitools/snippets": "2.4.13",
"@applitools/utils": "1.3.24",
"@applitools/utils": "1.3.25",
"semver": "7.3.7"

@@ -95,0 +95,0 @@ },

@@ -63,2 +63,5 @@ /// <reference types="node" />

get isEdgeLegacy(): boolean;
get sessionId(): string;
get isExecutionGridClient(): boolean;
get isExecutionGrid(): boolean;
updateCurrentContext(context: Context<TDriver, TContext, TElement, TSelector>): void;

@@ -79,2 +82,3 @@ init(): Promise<this>;

}>;
getSessionMetadata(): Promise<any>;
refreshContexts(): Promise<Context<TDriver, TContext, TElement, TSelector>>;

@@ -81,0 +85,0 @@ switchTo(context: Context<TDriver, TContext, TElement, TSelector>): Promise<Context<TDriver, TContext, TElement, TSelector>>;

@@ -38,2 +38,3 @@ /// <reference types="node" />

};
isExecutionGridClient?: boolean;
};

@@ -104,2 +105,3 @@ export declare type WaitOptions = {

switchWorld?(driver: TDriver, id: string): Promise<void>;
getSessionMetadata?(driver: TDriver): Promise<any>;
}
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