feat: screecast options

This commit is contained in:
karishmas6
2024-07-13 17:06:58 +05:30
parent 465b87c7d7
commit 0b1fd5dcb8

View File

@@ -313,7 +313,7 @@ export class RemoteBrowser {
logger.log('warn', 'client is not initialized');
return;
}
await this.client.send('Page.startScreencast');
await this.client.send('Page.startScreencast', { format: 'jpeg', quality: 90 });
logger.log('info', `Browser started with screencasting a page.`);
};