@applitools/spec-driver-puppeteer 1.2.0 → 1.2.2

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,51 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.2.2](https://github.com/applitools/eyes.sdk.javascript1/compare/js/spec-driver-puppeteer@1.2.1...js/spec-driver-puppeteer@1.2.2) (2023-09-25)
4
+
5
+
6
+ ### Code Refactoring
7
+
8
+ * use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * @applitools/utils bumped to 1.6.1
14
+ #### Bug Fixes
15
+
16
+ * add browser entry point declaration and test ([#1933](https://github.com/applitools/eyes.sdk.javascript1/issues/1933)) ([5ba0720](https://github.com/applitools/eyes.sdk.javascript1/commit/5ba0720d62a9af8a9a2e1c2437c569e6ab19afd8))
17
+
18
+
19
+ #### Code Refactoring
20
+
21
+ * use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
22
+ * @applitools/logger bumped to 2.0.11
23
+ #### Bug Fixes
24
+
25
+ * add browser entry point declaration and test ([#1933](https://github.com/applitools/eyes.sdk.javascript1/issues/1933)) ([5ba0720](https://github.com/applitools/eyes.sdk.javascript1/commit/5ba0720d62a9af8a9a2e1c2437c569e6ab19afd8))
26
+
27
+
28
+
29
+ * @applitools/driver bumped to 1.14.2
30
+ #### Code Refactoring
31
+
32
+ * use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
33
+
34
+
35
+
36
+
37
+ ## [1.2.1](https://github.com/applitools/eyes.sdk.javascript1/compare/js/spec-driver-puppeteer@1.2.0...js/spec-driver-puppeteer@1.2.1) (2023-09-21)
38
+
39
+
40
+ ### Dependencies
41
+
42
+ * @applitools/snippets bumped to 2.4.24
43
+ #### Bug Fixes
44
+
45
+ * add support to shadow dom iframe ([#1925](https://github.com/applitools/eyes.sdk.javascript1/issues/1925)) ([a06b955](https://github.com/applitools/eyes.sdk.javascript1/commit/a06b9555a3b37918fe43a90e92c0a94f765151cc))
46
+ * @applitools/driver bumped to 1.14.1
47
+
48
+
3
49
  ## [1.2.0](https://github.com/applitools/eyes.sdk.javascript1/compare/js/spec-driver-puppeteer@1.1.74...js/spec-driver-puppeteer@1.2.0) (2023-09-04)
4
50
 
5
51
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/spec-driver-puppeteer",
3
- "version": "1.2.0",
3
+ "version": "1.2.2",
4
4
  "keywords": [
5
5
  "puppeteer",
6
6
  "chrome devtools protocol",
@@ -40,8 +40,8 @@
40
40
  "up:framework": "yarn add --dev --caret puppeteer${APPLITOOLS_FRAMEWORK_VERSION:+@$APPLITOOLS_FRAMEWORK_VERSION}"
41
41
  },
42
42
  "dependencies": {
43
- "@applitools/driver": "1.14.0",
44
- "@applitools/utils": "1.6.0"
43
+ "@applitools/driver": "1.14.2",
44
+ "@applitools/utils": "1.6.1"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@applitools/api-extractor": "^1.2.22",
package/types/index.d.ts CHANGED
@@ -24,7 +24,7 @@ export function getCookies(page: Driver): Promise<Array<import('@applitools/driv
24
24
  export function getTitle(page: Driver): Promise<string>;
25
25
  export function getUrl(page: Driver): Promise<string>;
26
26
  export function visit(page: Driver, url: string): Promise<void>;
27
- export function takeScreenshot(page: Driver): Promise<Buffer>;
27
+ export function takeScreenshot(page: Driver): Promise<Uint8Array>;
28
28
  export function build(env: any): Promise<[Driver, () => Promise<void>]>;
29
29
  export type Driver = import('puppeteer').Page & { __applitoolsBrand?: undefined; };
30
30
  export type Context = import('puppeteer').Frame & { __applitoolsBrand?: undefined; };