lgtm
This commit is contained in:
parent
8708bf000d
commit
11711c57e6
38 changed files with 5361 additions and 265 deletions
|
|
@ -50,6 +50,9 @@ export async function launchRecordingBrowser(
|
|||
deviceScaleFactor: storyboard.video.captureScale,
|
||||
recordVideo: { dir: opts.recordDir, size: viewport },
|
||||
});
|
||||
await context.addInitScript((appLanguage) => {
|
||||
if (appLanguage) localStorage.setItem('language', appLanguage);
|
||||
}, storyboard.content.appLanguage ?? 'en');
|
||||
await suppressDevServerNoise(context);
|
||||
return { browser, context };
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue