Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Loading Screens Support #45

Merged
merged 1 commit into from
Jun 25, 2023
Merged
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
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ WebDriver webDriver=util.driver;
The framework will also take care of the entire configuration of the Drivers, you just need to specify what supported WebExplorers do you want to run your scenarios on.


* Version: [2.2.0](https://github.com/orgs/WhiteOrganization/packages)
* Version: [2.2.1](https://github.com/orgs/WhiteOrganization/packages)

This is still in development and some methods are being constantly added as they are used. Please help us by requesting those you need or need more detailed documentation.

Expand All @@ -48,7 +48,7 @@ by including it in your POM](https://maven.pkg.github.com/whiteorganization/whit
<dependency>
<groupId>io.github.whiteorganization</groupId>
<artifactId>white-selenium-framework</artifactId>
<version>2.2.0</version>
<version>2.2.1</version>
</dependency>
```
If used on a long-term heavy-use project we recommend:
Expand All @@ -61,7 +61,7 @@ If used on a long-term heavy-use project we recommend:
<dependency>
<groupId>io.github.whiteorganization</groupId>
<artifactId>white-selenium-framework</artifactId>
<version>2.2.0</version>
<version>2.2.1</version>
</dependency>
<!-- https://mvnrepository.com/artifact/io.github.bonigarcia/webdrivermanager -->
<dependency>
Expand Down Expand Up @@ -94,7 +94,7 @@ and import the dependency like this:
<dependency>
<groupId>com.github.WhiteOrganization</groupId>
<artifactId>White_SeleniumFramework</artifactId>
<version>white-selenium-framework-2.2.0</version>
<version>white-selenium-framework-2.2.1</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>io.github.whiteorganization</groupId>
<artifactId>white-selenium-framework</artifactId>
<version>2.2.0</version>
<version>2.2.1</version>
<name>${project.groupId}:${project.artifactId}</name>
<description>A Selenium Framework that will help to execute tests and custom scenarios faster and reduce the effort
to access many sections Selenium related.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.TestInfo;
import org.openqa.selenium.WebDriver;
import org.white_sdev.white_seleniumframework.framework.utils.GeneralUtils;

import java.util.HashMap;
import java.util.Map;
Expand Down Expand Up @@ -65,7 +66,7 @@ public static void launchEvidencesRecords(TestInfo testInfo, WebDriver driver, S
String displayName = testInfo.getDisplayName();
log.trace("{}Start ", logID);
try{
WebDriverUtils.startRecording(seleniumJupiter, driver, displayName);
GeneralUtils.startRecording(seleniumJupiter, driver, displayName);
}catch (IllegalStateException ex){
log.error("{}There is a problem while trying to start the recording, the execution will continue.", logID, ex);
}
Expand Down Expand Up @@ -100,7 +101,7 @@ static void stopRecording(SeleniumJupiter seleniumJupiter, String displayName) {
String logID = "::stopRecording([displayName]): ";
log.trace("{}Start ", logID);
try {
WebDriverUtils.saveRecording(seleniumJupiter, displayName).ifPresentOrElse(
GeneralUtils.saveRecording(seleniumJupiter, displayName).ifPresentOrElse(
(fileName) -> log.debug("{}Saved recorded session at: {}", logID, fileName),
() -> log.error(logID + "Impossible to save the recording"));
} catch (org.white_sdev.white_seleniumframework.exceptions.White_SeleniumFrameworkException ex) {
Expand Down
1,344 changes: 166 additions & 1,178 deletions src/main/java/org/white_sdev/white_seleniumframework/framework/WebDriverUtils.java

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Loading