21 questions
0
votes
1
answer
77
views
Selenium-Jupiter - Using only local Browsers/Drivers
I'd like to use the selenium-jupiter JUnit5 extension for CI/CD runs:
selenium-jupiter
Unfortunately the used WebDriverManager is dynamically fetching browsers/drivers from the internet.
To allow for ...
1
vote
1
answer
1k
views
How do I stay ahead with the latest WebDriver version on Selenium
Since the browser update yesterday my test won't start and I get the message:
There was an error creating WebDriver object for Chrome
I use Selenium Jupiter with the @TestTemplate and my browsers....
0
votes
1
answer
57
views
Selenium-jupiter - passing timeout in browsers.json
I am trying to write selenium tests using Selenium-Jupiter. My team has decided to go with @TestTemplate approach and to use browsers.json.
One thing we feel we need to do is alter the default ...
1
vote
1
answer
883
views
How can selenium-jupiter be used with Karate to automatically use the WebDriver matching the currently installed Chrome/Firefox etc.? [duplicate]
Background
Selenium-Jupiter is a JUnit 5 extension aimed to ease the use of Selenium WebDriver by downloading and caching the WebDriver binaries required for each test, depending on which locally ...
0
votes
1
answer
86
views
What would be the best approach to overwrite multiple SeleniumJupiter configuration parameters?
As part of my test base class, I have something like this:
seleniumJupiter.getConfig().setDefaultBrowser(BROWSER.getStringValue());
seleniumJupiter.getConfig().setScreenshotAtTheEndOfTests("...
0
votes
1
answer
190
views
Gitlab CI ParameterResolutionException Failed to resolve parameter
I have test case that works fine in my local eclipse environment.
@Test
@Order(1)
void testTitle(@Arguments("--headless") ChromeDriver driver) {
driver.get("https://google.com")...
0
votes
1
answer
220
views
How can I get container ID in order to execute command in docker container?
I only seem able to use getContainerId(WebDriver) during the first test. Every subsequent test returns empty e.g. getContainerId(SelenideDriver.getWebdriver)
Ideally I need to be able to execute ...
1
vote
1
answer
520
views
Selenium-Jupiter generic webdriver settings not applied
I want to use Selenium-Jupiter in my Spring Boot Project but my requirement is to switch the WebDriver implementation at runtime - based on the execution environment - using one common base class for ...
1
vote
1
answer
470
views
Standard approach for multi browser test execution in Selenium Jupiter
I went through Selenium Jupiter manual and still cannot get the idea of how I can set multiple
browsers in Selenium Jupiter to run every test in every browser.
Should use Test Template for that ...
0
votes
1
answer
1k
views
How to configure Selenide remote grid url in Selenium-Jupiter test framework?
I am trying to configure a Selenide driver within the Selenium-Jupiter framework, to use my remote grid url but it keeps ignoring the configuration, and just runs the local installed browser. Here ...
-1
votes
1
answer
99
views
selenium-jupiter - Unable to find screenshot file
When I tried to run the below command with JUnit 5
mvn clean install -DskipTests && mvn clean test -pl=test-insight -Dtest="com.myproject.automation.test.settings.**" -Dspring.profiles.active=...
0
votes
1
answer
325
views
How to set browser arguments conditionally (Selenium-Jupiter specific)
I have tried so many things to set the proxy in a chrome-in-docker browser.
I finally found something that works, but it isn't the best solution.
@BeforeEach
public void beforeEach(@Arguments("--...
0
votes
1
answer
471
views
How can I run Grid up and running
Is it possible to run the hub and nodes in Selenium Grid through Java/Selenium code? In an example provided by @Boni Garcia, there is GridLauncherV3 but this is not working with Selenium-jupiter ...
4
votes
1
answer
633
views
How to programmatically configure WebDriver in base class in Selenium Jupiter?
I want to migrate existing Selenium-Tests based on JUnit 4 to JUnit 5. For this purpose, I want to make use of Selenium-Jupiter.
One requirement, that the tests must fulfill is, to be able to switch ...
0
votes
1
answer
391
views
selenium-jupiter - How to set Firefox and Chrome options
I need to run the same selenium tests with Firefox and Chrome, but I also need to set different options for them. Is that possible?
Running the same tests with both browsers is clearly possible, as ...