Skip to content

Commit

Permalink
fix: disable set window size for webdriver
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterYinusa committed Sep 3, 2024
1 parent 118fd3a commit fe11003
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webdriver/webdriver-factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export class WebDriverFactory {
}
args.push(`--load-extension=${extensionPath}`);
}
args.push(`--window-size=1920,1080`);
// args.push(`--window-size=1920,1080`);
chromeOptions.addArguments(...args);
const driver: WebDriver = await new Builder().forBrowser(CHROME).setChromeOptions(chromeOptions).build();
await driver.manage().setTimeouts({ implicit: 20000 });
Expand Down

0 comments on commit fe11003

Please sign in to comment.