Skip to content

Commit

Permalink
Readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
reportportal.io committed Jun 8, 2022
1 parent d7d7c12 commit cfcd382
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
[![stackoverflow](https://img.shields.io/badge/reportportal-stackoverflow-orange.svg?style=flat)](http://stackoverflow.com/questions/tagged/reportportal)
[![Build with Love](https://img.shields.io/badge/build%20with-❤%EF%B8%8F%E2%80%8D-lightgrey.svg)](http://reportportal.io?style=flat)

The latest version: 5.1.0. Please use `Maven Central` link above to get the agent.
The latest version: 5.1.1. Please use `Maven Central` link above to get the agent.

## Overview

Expand All @@ -34,7 +34,7 @@ You need to add the logger as one of your dependencies in Maven or Gradle.
<dependency>
<groupId>com.epam.reportportal</groupId>
<artifactId>logger-java-selenide</artifactId>
<version>5.1.0</version>
<version>5.1.1</version>
</dependency>
</dependencies>

Expand All @@ -48,8 +48,24 @@ You need to add the logger as one of your dependencies in Maven or Gradle.

```groovy
dependencies {
testCompile 'com.epam.reportportal:logger-java-selenide:5.1.0'
testCompile 'com.epam.reportportal:logger-java-selenide:5.1.1'
}
```

### Selenide configuration

To start getting Selenide step logging in Report Portal you need to add the logger to `SelenideLogger` listeners. The best
place for it is one which will be initialized at the earliest moment once during the test execution. E.G. a static initialization block in a
base class for all tests:

```java
public class BaseTest {
static {
SelenideLogger.addListener("ReportPortal logger", new ReportPortalSelenideEventListener());
}
}
```

### Logger configuration

TBD

0 comments on commit cfcd382

Please sign in to comment.