Skip to content

Commit 3c8912f

Browse files
committed
fixes
1 parent ffc7f42 commit 3c8912f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/playwright/src/smartui.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ async function smartuiSnapshot(page, snapshotName, options) {
2323

2424
// Post the DOM to the snapshot endpoint with snapshot options and other info
2525
await utils.postSnapshot({
26-
dom: dom.html,
26+
dom,
2727
url: page.url(),
2828
name: snapshotName,
2929
options

packages/puppeteer/src/smartui.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ async function smartuiSnapshot(page, name, options = {}) {
2525

2626
// Post it to the SmartUI server.
2727
await utils.postSnapshot({
28-
dom: dom.html,
28+
dom,
2929
url,
3030
name,
3131
options

0 commit comments

Comments
 (0)