@applitools/eyes-selenium 4.59.5 → 4.59.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/package.json +6 -6
- package/types/index.d.ts +6 -12
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/eyes-selenium",
|
|
3
|
-
"version": "4.59.
|
|
3
|
+
"version": "4.59.6",
|
|
4
4
|
"description": "Applitools Eyes SDK for Selenium WebDriver",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eyes-selenium",
|
|
@@ -65,12 +65,12 @@
|
|
|
65
65
|
}
|
|
66
66
|
},
|
|
67
67
|
"dependencies": {
|
|
68
|
-
"@applitools/core": "1.0.
|
|
69
|
-
"@applitools/eyes-api": "1.7.
|
|
70
|
-
"@applitools/spec-driver-selenium": "1.3.
|
|
68
|
+
"@applitools/core": "1.0.9",
|
|
69
|
+
"@applitools/eyes-api": "1.7.10",
|
|
70
|
+
"@applitools/spec-driver-selenium": "1.3.24"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
|
-
"@applitools/api-extractor": "1.2.
|
|
73
|
+
"@applitools/api-extractor": "1.2.11",
|
|
74
74
|
"@applitools/bongo": "^2.2.0",
|
|
75
75
|
"@applitools/scripts": "1.1.0",
|
|
76
76
|
"@applitools/sdk-coverage-tests": "2.3.20",
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"eslint-plugin-node": "^11.1.0",
|
|
88
88
|
"eslint-plugin-prettier": "^4.0.0",
|
|
89
89
|
"husky": "^4.3.8",
|
|
90
|
-
"mocha": "^
|
|
90
|
+
"mocha": "^9.2.2",
|
|
91
91
|
"prettier": "^2.6.2",
|
|
92
92
|
"selenium-webdriver": "^4.2.0",
|
|
93
93
|
"spec-xunit-file": "0.0.1-3",
|
package/types/index.d.ts
CHANGED
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
export type Driver = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
};
|
|
5
|
-
export type Element = {
|
|
6
|
-
getRect(): Promise<{ x: number; y: number; width: number; height: number; }>;
|
|
7
|
-
__applitoolsBrand?: never;
|
|
8
|
-
};
|
|
9
|
-
export type Selector = ({ using: string; value: string; toObject(): Object; } | {} | ({ className: string; } | { css: string; } | { id: string; } | { js: string; } | { linkText: string; } | { name: string; } | { partialLinkText: string; } | { tagName: string; } | { xpath: string; }) | { using: string; value: string; } | ((webdriver: { getExecutor(): {}; }) => Promise<any>)) & { __applitoolsBrand?: never; };
|
|
1
|
+
export type Driver = import('selenium-webdriver').WebDriver & { __applitoolsBrand?: never; };
|
|
2
|
+
export type Element = import('selenium-webdriver').WebElement & { __applitoolsBrand?: never; };
|
|
3
|
+
export type Selector = (import('selenium-webdriver').By | import('selenium-webdriver').RelativeBy | import('selenium-webdriver').ByHash | { using: string; value: string; } | ((webdriver: import('selenium-webdriver').WebDriver) => Promise<any>)) & { __applitoolsBrand?: never; };
|
|
10
4
|
export class Eyes {
|
|
11
5
|
static setViewportSize: (driver: Driver, viewportSize: RectangleSize) => Promise<void>;
|
|
12
6
|
constructor(runner?: EyesRunner, config?: ConfigurationPlain);
|
|
@@ -545,8 +539,8 @@ export const Target: {
|
|
|
545
539
|
shadow(selector: string | Selector | { selector: string | Selector; type?: string; shadow?: EyesSelector<Selector>; frame?: EyesSelector<Selector>; }): CheckSettings;
|
|
546
540
|
};
|
|
547
541
|
export class BatchClose {
|
|
548
|
-
static close(settings: { batchIds: Array<string>; serverUrl
|
|
549
|
-
constructor(options?: { batchIds: Array<string>; serverUrl
|
|
542
|
+
static close(settings: { batchIds: Array<string>; serverUrl: string; apiKey: string; proxy?: ProxySettingsPlain; }): Promise<void>;
|
|
543
|
+
constructor(options?: { batchIds: Array<string>; serverUrl: string; apiKey: string; proxy?: ProxySettingsPlain; });
|
|
550
544
|
close(): Promise<void>;
|
|
551
545
|
setBatchIds(batchIds: Array<string>): BatchClose;
|
|
552
546
|
setUrl(serverUrl: string): BatchClose;
|
|
@@ -1376,7 +1370,7 @@ export class Logger {
|
|
|
1376
1370
|
tag(name: string, value: any): void;
|
|
1377
1371
|
extend(label?: string): Logger;
|
|
1378
1372
|
}
|
|
1379
|
-
export function closeBatch(spec:
|
|
1373
|
+
export function closeBatch(spec: BatchCloseSpec): (options: { batchIds: Array<string>; serverUrl: string; apiKey: string; proxy?: ProxySettingsPlain; }) => Promise<void>;
|
|
1380
1374
|
export abstract class EyesRunner {
|
|
1381
1375
|
getAllTestResults(throwErr?: boolean): Promise<TestResultsSummary>;
|
|
1382
1376
|
}
|