Skip to content

Commit

Permalink
Add --headless flag to Firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
corrideat committed May 12, 2024
1 parent f8d422d commit ffa02b2
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,24 @@ jobs:
- run: deno test --import-map=import_map.json test
env:
DENO_NO_PACKAGE_JSON: 1

run-tests-ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
- uses: actions/setup-java@v3
with:
distribution: 'dragonwell'
java-version: '11'
- uses: denoland/setup-deno@v1
with:
deno-version: '~1.36'
- run: npm ci
- run: npm run lint
- run: npm test
- run: deno test --import-map=import_map.json test
env:
DENO_NO_PACKAGE_JSON: 1
1 change: 1 addition & 0 deletions test/lib/webdriverTestSuites.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ const edgeOptions = new EdgeOptions();
edgeOptions.addArguments('--headless=new');

const firefoxOptions = new FirefoxOptions();
firefoxOptions.addArguments('--headless');

const safariOptions = new SafariOptions();

Expand Down

0 comments on commit ffa02b2

Please sign in to comment.