Skip to content

Commit e3fce11

Browse files
committed
add --screen-info arg for test browser
1 parent 900be63 commit e3fce11

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/utils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ export async function withBrowser(
5555
devtools: options.autoOpenDevTools ?? false,
5656
pipe: true,
5757
handleDevToolsAsPage: true,
58+
args: ['--screen-info={3840x2160}'],
5859
};
5960
const key = JSON.stringify(launchOptions);
6061

0 commit comments

Comments
 (0)