All Questions
Tagged with maven selenium-webdriver
1,853
questions
-1
votes
0
answers
47
views
How to prevent maven from upgrading libraries of custom imported library?
I am having 2 projects, let's say project API and project Consumer. The API project is meant to be used as a library that I can import in project Consumer as a maven dependency. Project API has the ...
0
votes
0
answers
27
views
jenkins selenium project windows installer
I'm running Jenkins in the Windows installer Test cases are running without opening the browser but test cases are running
Browser: chrome
Starting ChromeDriver 125.0.6422.78 (...
0
votes
1
answer
51
views
Getting java.lang.NoSuchMethodError: org.openqa.selenium.chrome.ChromeOptions.setExperimentalOption error on doing mvn clean test
I am facing a weird issue in my project while running it as I am coming across an issue org.openqa.selenium.chrome.ChromeOptions.setExperimentalOption. Actually, I had first stuck with NoClassDefError....
1
vote
1
answer
27
views
How can I create a test automation using selenium java and UTAM?
I am working on automating website navigation using Selenium WebDriver in Java. My goal is to create a test automation script that can navigate to any website and interact with elements based on a ...
0
votes
0
answers
38
views
Want to run command mvn test with a specific testng.xml file
This is my plugin in POM.xml file:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
...
0
votes
0
answers
16
views
Maven test case is not running due to selinium driver
I'm encountering an issue with running my test cases using an extension(Test runner for java). I maintain a ChromeDriver inside a 'driver' folder in the root directory.
Previously, everything worked ...
0
votes
0
answers
31
views
Mvn Java automation inside a crossPlatform Monorepo codebase
I'm working on Integrating my existing Java automation framework(selenium) into a mono repo codebase, as shown below. Monorepo codebase is mainly a cross-platform frontend code that uses React Native, ...
-1
votes
1
answer
64
views
Why am i not seeing the import library option in Eclipse, i have added the required library in the build config path
`
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://...
0
votes
2
answers
42
views
Edge WebDriver can't create a session
I'm writing simple test cases for automatization of testing web app. Installed Maven in my VS Code, I guess made everything correct (since mvn -version returns Apache Maven 3.8.7...). Created project ...
0
votes
0
answers
59
views
Passing a password securely as an maven argument from jenkins
I'm running a job in jenkins that is taking password argument and passing it in a pipeline to start a maven process with that given password argument. That is obviously not very secure way of handling ...
0
votes
1
answer
16
views
Tests on a remote driver are not executed
Using selenium IDE I have created a series of tests that end successfully. Then I export as junit. After moving the file to its location in a maven project src/test/java I try to run the test ./mvnw ...
5
votes
3
answers
71k
views
Chrome driver version (125) can't find the chromedriver.exe
I have downloaded the latest Chrome version from link https://googlechromelabs.github.io/chrome-for-testing/#stable for Windows 64 (125.0.6422.60). But after downloading, I am unable to get the ...
0
votes
0
answers
205
views
JAVA-Selenium-Unable to find version of CDP to use for 124.0.6367.202
Error Message :
May 10, 2024 11:00:44 PM org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch WARNING: Unable to find CDP implementation matching 124 May 10, 2024 11:00:44 PM org.openqa....
0
votes
1
answer
45
views
After mvn test I see "Tests run: 0" for some reason
i'm trying to run my tests with 'maven test', but I always receive Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
Can't find the problem. I'm guessing that the problem is eather pom or runner
...
0
votes
0
answers
32
views
Bitbucket Pipeline => Build Fail
Error i am getting:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project *****: There are test failures.
Yml file:
POM.xml:
Error
at ...