diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..21bcc0d
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,55 @@
+name: CI
+
+on:
+ push:
+ branches: [ master ]
+ pull_request:
+ branches: [ master ]
+
+jobs:
+ test:
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v4
+
+ - name: Set up JDK 8
+ uses: actions/setup-java@v4
+ with:
+ java-version: '8'
+ distribution: 'temurin'
+
+ - name: Install Firefox
+ uses: browser-actions/setup-firefox@v1
+ with:
+ firefox-version: latest
+
+ - name: Verify environment
+ run: |
+ java -version
+ mvn --version
+ firefox --version
+ ls -la driver/linux/
+
+ - name: Cache Maven dependencies
+ uses: actions/cache@v4
+ with:
+ path: ~/.m2
+ key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
+ restore-keys: ${{ runner.os }}-m2
+
+ - name: Run tests
+ run: mvn clean test -Dspring.profiles.active=live -Dcountry=com -Dbrowser=firefox -Dmode=headless
+ env:
+ MOZ_HEADLESS: 1
+
+ - name: Upload test results
+ if: always()
+ uses: actions/upload-artifact@v4
+ with:
+ name: test-results
+ path: |
+ target/surefire-reports/
+ allure-results/
+ retention-days: 30
\ No newline at end of file
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 0868192..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,14 +0,0 @@
-os: osx
-language: java
-sudo: required
-
-env:
- - MOZ_HEADLESS=1
-addons:
- firefox: latest
-
-script:
- - mvn clean test -Dspring.profiles.active=live -Dcountry=com -Dbrowser=firefox -Dmode=headless
-
-notifications:
- slack: tehnografija:yGLRFooashh7wutsGmMQFxou
\ No newline at end of file
diff --git a/README.md b/README.md
index ee41df5..02732d6 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-# Java Selenium Framework [](https://travis-ci.org/edinc/java-selenium-framework)
+# Java Selenium Framework [](https://github.com/edinc/java-selenium-framework/actions/workflows/ci.yml)
The Selenium Java Framework is a good starting point for writing your UI automated tests utilizing Java,
Selenium and Zalenium for running the tests in a CI manner.
diff --git a/driver/linux/geckodriver b/driver/linux/geckodriver
index ba1da8c..bac836b 100755
Binary files a/driver/linux/geckodriver and b/driver/linux/geckodriver differ
diff --git a/pom.xml b/pom.xml
index e84448d..6ae47b2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -25,7 +25,7 @@
org.seleniumhq.selenium
selenium-java
- 3.12.0
+ 3.141.59
org.hamcrest
@@ -51,7 +51,7 @@
org.springframework
spring-web
- 6.1.21
+ 4.2.4.RELEASE
org.springframework
@@ -94,9 +94,6 @@
-javaagent:"${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar"
- --add-opens java.base/java.lang=ALL-UNNAMED
- --add-opens java.base/java.lang.reflect=ALL-UNNAMED
- --add-opens java.base/java.security=ALL-UNNAMED