Skip to content

Commit

Permalink
Resolving comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Amit3200 committed Oct 3, 2024
1 parent ce6a65f commit ad84e74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ async function captureSerializedDOM(driver, options) {
domSnapshot: PercyDOM.serialize(options)
}), options);
/* istanbul ignore next: no instrumenting injected code */
domSnapshot.cookies = await driver.manage().getCookies() || {};
domSnapshot.cookies = await driver.manage().getCookies() || [];
return domSnapshot;
}

Expand Down

0 comments on commit ad84e74

Please sign in to comment.