Skip to content

Commit da2703f

Browse files
author
rocketraccoon
committed
feat: add env
1 parent 74dea3c commit da2703f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/browser/commands/saveState/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export const defaultOptions = {
3131
cookies: true,
3232
localStorage: true,
3333
sessionStorage: true,
34-
keepFile: false,
34+
keepFile: process.env.TESTPLANE_SAVE_STATE_KEEP_FILE === "true" || false,
3535
};
3636

3737
// in case when we use webdriver protocol, bidi and isolation

0 commit comments

Comments
 (0)