Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,8 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java-version }}
# - name: Configure wiremock mappings
# working-directory: src/test/resources/mappings
# run: |
# ls | xargs -I{} curl -v -X POST -H "Content-Type: application/json" -d @{} http://localhost:8080/__admin/mappings
- name: Start selenoid
uses: Xotabu4/selenoid-github-action@v1
uses: Xotabu4/selenoid-github-action@v2
- name: Cache local Maven repository
uses: actions/cache@v2
with:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.frameworkium.integration;

import com.frameworkium.core.common.properties.Property;
import com.frameworkium.core.ui.driver.AbstractDriver;
import org.openqa.selenium.Capabilities;
import org.openqa.selenium.WebDriver;
Expand All @@ -13,7 +14,9 @@ public class CustomFirefoxImpl extends AbstractDriver {

@Override
public Capabilities getCapabilities() {
return new FirefoxOptions();
var firefoxOptions = new FirefoxOptions();
firefoxOptions.setHeadless(Property.HEADLESS.getBoolean());
return firefoxOptions;
}

@Override
Expand Down