@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 CHANGED
@@ -8,6 +8,12 @@
8
8
 
9
9
 
10
10
 
11
+ ## 4.59.6 - 2022/9/26
12
+
13
+ ### Features
14
+ ### Bug fixes
15
+ - Fixed minor issues
16
+
11
17
  ## 4.59.5 - 2022/9/22
12
18
 
13
19
  ### Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/eyes-selenium",
3
- "version": "4.59.5",
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.3",
69
- "@applitools/eyes-api": "1.7.8",
70
- "@applitools/spec-driver-selenium": "1.3.22"
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.9",
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": "^10.0.0",
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
- getExecutor(): {};
3
- __applitoolsBrand?: never;
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?: string; apiKey?: string; proxy?: ProxySettingsPlain; }): Promise<void>;
549
- constructor(options?: { batchIds: Array<string>; serverUrl?: string; apiKey?: string; proxy?: ProxySettingsPlain; });
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: { closeBatches(options: { settings: { batchIds: Array<string>; serverUrl?: string; apiKey?: string; proxy?: ProxySettingsPlain; }; }): Promise<void>; }): (options: { batchIds: Array<string>; serverUrl?: string; apiKey?: string; proxy?: ProxySettingsPlain; }) => Promise<void>;
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
  }