feat: viewport size property

This commit is contained in:
karishmas6
2024-10-22 02:44:57 +05:30
parent a016ec6322
commit a6a0342c1a

View File

@@ -36,6 +36,8 @@ export class RemoteBrowser {
*/
private context: BrowserContext | null = null;
private viewportSize: { width: number, height: number } = { width: 900, height: 400 };
/**
* The Playwright's [CDPSession](https://playwright.dev/docs/api/class-cdpsession) instance,
* used to talk raw Chrome Devtools Protocol.