@applitools/driver
Advanced tools
Comparing version 1.19.1 to 1.19.2
# Changelog | ||
## [1.19.2](https://github.com/Applitools-Dev/sdk/compare/js/driver@1.19.1...js/driver@1.19.2) (2024-10-03) | ||
### Bug Fixes | ||
* cache key for offline execution ([#2552](https://github.com/Applitools-Dev/sdk/issues/2552)) ([d0d1138](https://github.com/Applitools-Dev/sdk/commit/d0d11386be0f82c9e59e753bd0dc97aa3b05d93e)) | ||
## [1.19.1](https://github.com/Applitools-Dev/sdk/compare/js/driver@1.19.0...js/driver@1.19.1) (2024-09-16) | ||
@@ -4,0 +11,0 @@ |
@@ -36,2 +36,3 @@ "use strict"; | ||
const utils = __importStar(require("@applitools/utils")); | ||
const util_1 = require("util"); | ||
const snippets = require('@applitools/snippets'); | ||
@@ -62,2 +63,13 @@ const drivers = new WeakMap(); | ||
} | ||
[util_1.inspect.custom]() { | ||
return { | ||
driverInfo: this._driverInfo, | ||
environment: this._environment, | ||
viewport: this._viewport, | ||
helper: this._helper, | ||
state: this._state, | ||
customConfig: this._customConfig, | ||
features: this._features, | ||
}; | ||
} | ||
get logger() { | ||
@@ -64,0 +76,0 @@ return this._logger; |
{ | ||
"name": "@applitools/driver", | ||
"version": "1.19.1", | ||
"version": "1.19.2", | ||
"description": "Applitools universal framework wrapper", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -0,1 +1,2 @@ | ||
/// <reference types="node" /> | ||
import type { Size, Region } from '@applitools/utils'; | ||
@@ -10,2 +11,6 @@ import type { DriverInfo, Capabilities, UserAgent, Environment, Viewport, Features, ScreenOrientation, Cookie } from './types'; | ||
import { HelperAndroid } from './helper-android'; | ||
import { inspect } from 'util'; | ||
type DriverState<T extends SpecType> = { | ||
nmlElement?: Element<T> | null; | ||
}; | ||
type DriverOptions<T extends SpecType> = { | ||
@@ -34,2 +39,13 @@ spec: SpecDriver<T>; | ||
constructor(options: DriverOptions<T>); | ||
[inspect.custom](): { | ||
driverInfo: DriverInfo | undefined; | ||
environment: Environment | undefined; | ||
viewport: Viewport | undefined; | ||
helper: HelperAndroid<T> | HelperIOS<T> | null | undefined; | ||
state: DriverState<T>; | ||
customConfig: { | ||
useCeilForViewportSize?: boolean | undefined; | ||
}; | ||
features: Features | undefined; | ||
}; | ||
get logger(): Logger; | ||
@@ -36,0 +52,0 @@ get target(): T['driver']; |
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
280436
4385