Undo format

This commit is contained in:
Ayman Bagabas
2024-04-08 12:45:55 +03:00
parent ce9e92f8e5
commit 00514d41b6
4 changed files with 6 additions and 5 deletions
+2 -3
View File
@@ -74,10 +74,9 @@ export function getBrowserType(): playwright.BrowserType<playwright.WebKitBrowse
return browserType;
}
export function launchBrowser(opts?: playwright.LaunchOptions): Promise<playwright.Browser> {
export function launchBrowser(): Promise<playwright.Browser> {
const browserType = getBrowserType();
const options: playwright.LaunchOptions = {
...opts,
const options: Record<string, unknown> = {
headless: process.argv.includes('--headless')
};