Skip to content

Commit

Permalink
fixup! remove deprecated headless function call
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Sep 19, 2024
1 parent 3f88039 commit b02aa31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/itest/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export async function setupDriver(): Promise<WebDriver> {
const headless = process.env.HEADLESS_BROWSER === 'true';
const options = new firefox.Options();
if (headless) {
options.addArguments('--headless=true');
options.addArguments('--headless');
}
options.setAcceptInsecureCerts(true);
options.addArguments('--width=1920', '--height=1080');
Expand Down

0 comments on commit b02aa31

Please sign in to comment.