From a1a42a7f0aecc5042317334e284a8d06ddca01c2 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Sat, 1 Jun 2024 11:35:18 +0530 Subject: [PATCH] feat(ts): interface RemoteBrowserOptions --- server/src/types/index.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/server/src/types/index.ts b/server/src/types/index.ts index dfcaa12f..44647d9a 100644 --- a/server/src/types/index.ts +++ b/server/src/types/index.ts @@ -10,3 +10,18 @@ export interface InterpreterSettings { debug: boolean; params?: any; } + + +/** + * Options for the {@link BrowserManagement.launch} method. + * Wraps the Playwright's launchOptions and adds an extra browser option. + * The browser option determines which browser to launch as Playwright + * supports multiple browsers. (chromium, firefox, webkit) + * -- Possible expansion for the future of the browser recorder -- + * @category Types + */ +export interface RemoteBrowserOptions { + browser: BrowserType + launchOptions: LaunchOptions +}; +