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

@applitools/driver

Package Overview
Dependencies
Maintainers
23
Versions
216
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.3.3 to 1.3.4

4

CHANGELOG.md

@@ -6,2 +6,6 @@ # Change Log

## 1.3.4 - 2021/11/18
- fix capabilities parsing for native apps
## 1.3.3 - 2021/11/14

@@ -8,0 +12,0 @@

4

dist/capabilities.js

@@ -7,3 +7,5 @@ "use strict";

const info = {
browserName: ((_a = capabilities.browserName) !== null && _a !== void 0 ? _a : (_b = capabilities.desired) === null || _b === void 0 ? void 0 : _b.browserName) || undefined,
browserName: !capabilities.app
? ((_a = capabilities.browserName) !== null && _a !== void 0 ? _a : (_b = capabilities.desired) === null || _b === void 0 ? void 0 : _b.browserName) || undefined
: undefined,
browserVersion: ((_c = capabilities.browserVersion) !== null && _c !== void 0 ? _c : capabilities.version) || undefined,

@@ -10,0 +12,0 @@ platformName: ((_e = (_d = capabilities.platformName) !== null && _d !== void 0 ? _d : capabilities.platform) !== null && _e !== void 0 ? _e : (_f = capabilities.desired) === null || _f === void 0 ? void 0 : _f.platformName) || undefined,

@@ -159,4 +159,4 @@ "use strict";

if (barsHeight) {
this._driverInfo.statusBarHeight = Math.max(barsHeight.statusBarHeight, driverInfo.statusBarHeight);
this._driverInfo.navigationBarHeight = Math.max(barsHeight.navigationBarHeight, driverInfo.navigationBarHeight);
this._driverInfo.statusBarHeight = Math.max(this._driverInfo.statusBarHeight, barsHeight.statusBarHeight);
this._driverInfo.navigationBarHeight = Math.max(this._driverInfo.navigationBarHeight, barsHeight.navigationBarHeight);
}

@@ -163,0 +163,0 @@ if (this.isAndroid) {

{
"name": "@applitools/driver",
"version": "1.3.3",
"version": "1.3.4",
"description": "Applitools universal framework wrapper",

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

@@ -23,3 +23,3 @@ export declare class MockDriver {

executeScript(script: any, args?: any[]): Promise<any>;
findElement(selector: any, rootElement: any): Promise<any>;
findElement(selector: any, rootElement?: any): Promise<any>;
findElements(selector: any, rootElement: any): Promise<any>;

@@ -26,0 +26,0 @@ switchToFrame(reference: any): Promise<this>;

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