Skip to content

Commit

Permalink
Merge pull request #36 from WhiteOrganization/screenshots-hotfix
Browse files Browse the repository at this point in the history
Screenshoot bug fix
  • Loading branch information
obed-vazquez authored Jan 23, 2023
2 parents b9399e5 + fece0f8 commit a44bed3
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 5 deletions.
6 changes: 3 additions & 3 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: [1.0.0](https://github.com/orgs/WhiteOrganization/packages)
* Version: [1.0.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>1.0.0</version>
<version>1.0.1</version>
</dependency>
```
If used on a long-term heavy-use project we recommend:
Expand Down Expand Up @@ -101,7 +101,7 @@ and import the dependency like this:
<dependency>
<groupId>com.github.WhiteOrganization</groupId>
<artifactId>White_SeleniumFramework</artifactId>
<version>white-selenium-framework-1.0.0</version>
<version>white-selenium-framework-1.0.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>1.0.0</version>
<version>1.0.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 @@ -2750,7 +2750,19 @@ public void waitFor(Long milliseconds) {

//<editor-fold defaultstate="collapsed" desc="PrintScreen">

class Screenshot{
/**
* Used to take Screenshots of the running {@link AutomationScenario scenario}. Use:
* <code>
* new {@link WebDriverUtils utils}().take();
* </code>
* To take a screenshot of your running Web Browser, if you need to use your own {@link WebDriver} you can specify it like this:
* <code>
* new {@link WebDriverUtils utils}()
* .setDriver(myDriver)
* .take();
* </code>
*/
public class Screenshot{
WebDriver screenShootDriver;
String automationScenarioDisplayName;
String screenshotFileName;
Expand Down

0 comments on commit a44bed3

Please sign in to comment.