@percy/playwright 1.0.8 → 1.0.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.
Files changed (2) hide show
  1. package/index.js +2 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -25,6 +25,8 @@ const percySnapshot = async function(page, name, options) {
25
25
  return PercyDOM.serialize(options);
26
26
  }, options);
27
27
 
28
+ domSnapshot.cookies = await page.context().cookies();
29
+
28
30
  // Post the DOM to the snapshot endpoint with snapshot options and other info
29
31
  const response = await utils.postSnapshot({
30
32
  ...options,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@percy/playwright",
3
3
  "description": "Playwright client library for visual testing with Percy",
4
- "version": "1.0.8",
4
+ "version": "1.0.9",
5
5
  "license": "MIT",
6
6
  "author": "Perceptual Inc.",
7
7
  "repository": "https://github.com/percy/percy-playwright",