@applitools/eyes-selenium 4.66.7 → 4.66.9

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
@@ -1,5 +1,116 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.66.9](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-selenium@4.66.8...js/eyes-selenium@4.66.9) (2023-07-05)
4
+
5
+
6
+ ### Dependencies
7
+
8
+ * @applitools/eyes bumped from 1.5.0 to 1.5.1
9
+ #### Bug Fixes
10
+
11
+ * fixed issue with getResults log appearing in console when file handler configured ([56b75c2](https://github.com/applitools/eyes.sdk.javascript1/commit/56b75c2185906c1581980985816a000c14000ac3))
12
+
13
+
14
+ #### Reverts
15
+
16
+ * revert removal of `nmgOptions` api ([b8d03c7](https://github.com/applitools/eyes.sdk.javascript1/commit/b8d03c77e8243397ecca233e46d56f7437d16df4))
17
+
18
+
19
+
20
+ * @applitools/core bumped from 3.4.0 to 3.5.0
21
+ #### Features
22
+
23
+ * added auto applitools lib detection ([#1707](https://github.com/applitools/eyes.sdk.javascript1/issues/1707)) ([7d439b5](https://github.com/applitools/eyes.sdk.javascript1/commit/7d439b52af55f3b0596c9d35d6ba85c717448023))
24
+ * support dns caching ([#1680](https://github.com/applitools/eyes.sdk.javascript1/issues/1680)) ([9bbff34](https://github.com/applitools/eyes.sdk.javascript1/commit/9bbff34f50c9d18758b55a6bcb45571ca1148180))
25
+
26
+
27
+ #### Bug Fixes
28
+
29
+ * some fix ([660a137](https://github.com/applitools/eyes.sdk.javascript1/commit/660a1376a49dd28f8f399690502cd3d1f77665fa))
30
+
31
+
32
+
33
+ * @applitools/core-base bumped from 1.2.1 to 1.3.0
34
+ #### Features
35
+
36
+ * support dns caching ([#1680](https://github.com/applitools/eyes.sdk.javascript1/issues/1680)) ([9bbff34](https://github.com/applitools/eyes.sdk.javascript1/commit/9bbff34f50c9d18758b55a6bcb45571ca1148180))
37
+
38
+
39
+
40
+ * @applitools/req bumped from 1.3.3 to 1.4.0
41
+ #### Features
42
+
43
+ * support dns caching ([#1680](https://github.com/applitools/eyes.sdk.javascript1/issues/1680)) ([9bbff34](https://github.com/applitools/eyes.sdk.javascript1/commit/9bbff34f50c9d18758b55a6bcb45571ca1148180))
44
+ * @applitools/driver bumped from 1.12.4 to 1.13.0
45
+ #### Features
46
+
47
+ * added auto applitools lib detection ([#1707](https://github.com/applitools/eyes.sdk.javascript1/issues/1707)) ([7d439b5](https://github.com/applitools/eyes.sdk.javascript1/commit/7d439b52af55f3b0596c9d35d6ba85c717448023))
48
+ * @applitools/ec-client bumped from 1.5.0 to 1.6.0
49
+ #### Features
50
+
51
+ * added support of regional execution cloud servers ([#1711](https://github.com/applitools/eyes.sdk.javascript1/issues/1711)) ([2e26c69](https://github.com/applitools/eyes.sdk.javascript1/commit/2e26c6944bb15f6121fb37c1dba95aba162c1f6a))
52
+ * support dns caching ([#1680](https://github.com/applitools/eyes.sdk.javascript1/issues/1680)) ([9bbff34](https://github.com/applitools/eyes.sdk.javascript1/commit/9bbff34f50c9d18758b55a6bcb45571ca1148180))
53
+
54
+
55
+ #### Bug Fixes
56
+
57
+ * fixed auto tunnel cleanup after unexpected end of the process ([3c1ad08](https://github.com/applitools/eyes.sdk.javascript1/commit/3c1ad0837d2d3560becc6d89370aa878becb3270))
58
+
59
+
60
+
61
+ * @applitools/tunnel-client bumped from 0.1.1 to 1.0.0
62
+ #### Features
63
+
64
+ * added binaries and made them available in jfrog ([92033fe](https://github.com/applitools/eyes.sdk.javascript1/commit/92033fed7edc58bbc4a4e37269068418fe3afc3d))
65
+ * release as 1.0.0 ([93bf312](https://github.com/applitools/eyes.sdk.javascript1/commit/93bf31205b07d19bc2cb4f50b974c7bad0f49cea))
66
+
67
+
68
+
69
+ * @applitools/ufg-client bumped from 1.2.22 to 1.3.0
70
+ #### Features
71
+
72
+ * support dns caching ([#1680](https://github.com/applitools/eyes.sdk.javascript1/issues/1680)) ([9bbff34](https://github.com/applitools/eyes.sdk.javascript1/commit/9bbff34f50c9d18758b55a6bcb45571ca1148180))
73
+
74
+
75
+
76
+ * @applitools/spec-driver-webdriver bumped from 1.0.36 to 1.0.37
77
+
78
+ * @applitools/nml-client bumped from 1.5.0 to 1.5.1
79
+
80
+ * @applitools/screenshoter bumped from 3.8.1 to 3.8.2
81
+
82
+ * @applitools/spec-driver-selenium bumped from 1.5.50 to 1.5.51
83
+
84
+
85
+ ## [4.66.8](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-selenium@4.66.7...js/eyes-selenium@4.66.8) (2023-06-29)
86
+
87
+
88
+ ### Dependencies
89
+
90
+ * @applitools/eyes bumped from 1.4.1 to 1.5.0
91
+ #### Features
92
+
93
+ * added a new mode for taking native app screenshots ([#1682](https://github.com/applitools/eyes.sdk.javascript1/issues/1682)) ([0ab7d96](https://github.com/applitools/eyes.sdk.javascript1/commit/0ab7d96164c89ec65b87654fb271d4404bbf70e5))
94
+
95
+
96
+
97
+ * @applitools/core bumped from 3.3.1 to 3.4.0
98
+ #### Features
99
+
100
+ * added a new mode for taking native app screenshots ([#1682](https://github.com/applitools/eyes.sdk.javascript1/issues/1682)) ([0ab7d96](https://github.com/applitools/eyes.sdk.javascript1/commit/0ab7d96164c89ec65b87654fb271d4404bbf70e5))
101
+
102
+
103
+ #### Bug Fixes
104
+
105
+ * apply default scrolling mode ([f35aba4](https://github.com/applitools/eyes.sdk.javascript1/commit/f35aba454a344c8f0cf787afa2120ce57d91e307))
106
+
107
+
108
+
109
+ * @applitools/nml-client bumped from 1.4.0 to 1.5.0
110
+ #### Features
111
+
112
+ * added a new mode for taking native app screenshots ([#1682](https://github.com/applitools/eyes.sdk.javascript1/issues/1682)) ([0ab7d96](https://github.com/applitools/eyes.sdk.javascript1/commit/0ab7d96164c89ec65b87654fb271d4404bbf70e5))
113
+
3
114
  ## [4.66.7](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-selenium@4.66.6...js/eyes-selenium@4.66.7) (2023-06-28)
4
115
 
5
116
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/eyes-selenium",
3
- "version": "4.66.7",
3
+ "version": "4.66.9",
4
4
  "description": "Applitools Eyes SDK for Selenium WebDriver",
5
5
  "keywords": [
6
6
  "eyes-selenium",
@@ -46,13 +46,11 @@
46
46
  "test:sauce": "MOCHA_ONLY_TAGS=sauce run test:coverage",
47
47
  "test:coverage": "run generate:tests && APPLITOOLS_BATCH_NAME='JS Coverage Tests: eyes-selenium' APPLITOOLS_BATCH_ID=$(uuidgen) MOCHA_GROUP=coverage run --top-level mocha './test/generic/*.spec.js' -r @applitools/test-utils/mocha-hooks/docker --parallel --jobs ${MOCHA_JOBS:-15} --exit",
48
48
  "setup": "run --top-level browsers:setup",
49
- "up:framework": "run --top-level add-silent selenium-webdriver",
50
- "report": "bongo report --name 'js_selenium_4' --result-path './logs' --meta-path './logs'"
49
+ "up:framework": "run --top-level add-silent selenium-webdriver"
51
50
  },
52
- "notificationName": "js_selenium_4",
53
51
  "dependencies": {
54
- "@applitools/eyes": "1.4.1",
55
- "@applitools/spec-driver-selenium": "1.5.50"
52
+ "@applitools/eyes": "1.5.1",
53
+ "@applitools/spec-driver-selenium": "1.5.51"
56
54
  },
57
55
  "devDependencies": {
58
56
  "@applitools/api-extractor": "^1.2.21",
package/types/index.d.ts CHANGED
@@ -5,6 +5,7 @@ export type SpecType = { driver: Driver; context: Driver; element: Element; sele
5
5
  export class Eyes {
6
6
  static setViewportSize: (driver: Driver, viewportSize: RectangleSize) => Promise<void>;
7
7
  static getExecutionCloudUrl(config?: undefined | ConfigurationPlain): Promise<string>;
8
+ static setMobileCapabilities<TCapabilities extends Record<string, any>>(capabilities: TCapabilities, config?: undefined | ConfigurationPlain): TCapabilities;
8
9
  constructor(runner?: undefined | EyesRunner, config?: undefined | ConfigurationPlain);
9
10
  constructor(config?: undefined | ConfigurationPlain);
10
11
  get logger(): Logger;
@@ -31,6 +32,7 @@ export class Eyes {
31
32
  off(event: string): void;
32
33
  off(handler: (...args: Array<any>) => any): void;
33
34
  getExecutionCloudUrl(): Promise<string>;
35
+ setMobileCapabilities<TCapabilities extends Record<string, any>>(capabilities: TCapabilities): TCapabilities;
34
36
  open(driver: Driver, config?: undefined | ConfigurationPlain): Promise<Driver>;
35
37
  open(driver: Driver, appName?: undefined | string, testName?: undefined | string, viewportSize?: undefined | RectangleSizePlain, sessionType?: undefined | SessionTypePlain): Promise<Driver>;
36
38
  open(config?: undefined | ConfigurationPlain): Promise<void>;
@@ -204,8 +206,8 @@ export type CheckSettingsAutomationPlain = CheckSettingsImagePlain & {
204
206
  layoutBreakpoints?: undefined | boolean | Array<number> | { breakpoints: boolean | Array<number>; reload?: undefined | boolean; };
205
207
  visualGridOptions?: undefined | { [key: string]: any; };
206
208
  nmgOptions?: undefined | { [key: string]: any; };
209
+ useSystemScreenshot?: undefined | boolean;
207
210
  hooks?: undefined | { beforeCaptureScreenshot: string; };
208
- renderId?: undefined | string;
209
211
  timeout?: undefined | number;
210
212
  waitBeforeCapture?: undefined | number;
211
213
  lazyLoad?: undefined | boolean | { scrollLength?: undefined | number; waitingTime?: undefined | number; maxAmountToScroll?: undefined | number; };
@@ -235,11 +237,11 @@ export class CheckSettingsAutomation {
235
237
  webHook(script: string): CheckSettingsAutomation;
236
238
  ufgOption(key: string, value: any): CheckSettingsAutomation;
237
239
  ufgOptions(options: { [key: string]: any; }): CheckSettingsAutomation;
238
- visualGridOption(key: string, value: any): CheckSettingsAutomation;
239
- visualGridOptions(options: { [key: string]: any; }): CheckSettingsAutomation;
240
240
  nmgOption(key: string, value: any): CheckSettingsAutomation;
241
241
  nmgOptions(options: { [key: string]: any; }): CheckSettingsAutomation;
242
- renderId(renderId: string): CheckSettingsAutomation;
242
+ visualGridOption(key: string, value: any): CheckSettingsAutomation;
243
+ visualGridOptions(options: { [key: string]: any; }): CheckSettingsAutomation;
244
+ useSystemScreenshot(useSystemScreenshot: boolean): CheckSettingsAutomation;
243
245
  timeout(timeout: number): CheckSettingsAutomation;
244
246
  waitBeforeCapture(waitBeforeCapture: number): CheckSettingsAutomation;
245
247
  lazyLoad(options?: undefined | boolean): CheckSettingsAutomation;
@@ -1657,7 +1659,13 @@ export class TestResults implements Required<TestResultsPlain> {
1657
1659
  get url(): string;
1658
1660
  getUrl(): string;
1659
1661
  setUrl(_url: string): void;
1660
- get server(): { serverUrl: string; apiKey: string; agentId?: undefined | string; proxy?: undefined | { url: string; username?: undefined | string; password?: undefined | string; }; };
1662
+ get server(): {
1663
+ serverUrl: string;
1664
+ apiKey: string;
1665
+ agentId?: undefined | string;
1666
+ proxy?: undefined | { url: string; username?: undefined | string; password?: undefined | string; };
1667
+ useDnsCache?: undefined | boolean;
1668
+ };
1661
1669
  get keepIfDuplicate(): boolean;
1662
1670
  isPassed(): boolean;
1663
1671
  delete(): Promise<void>;