Skip to content

Commit 5396ebc

Browse files
committed
Include docs for version 6.3.0
1 parent 4dabf87 commit 5396ebc

File tree

4 files changed

+28
-1
lines changed

4 files changed

+28
-1
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
## [6.3.0] - 2025-09-01
4+
### Added
5+
- Built-in integration with ExtentReports for generating reports with screenshots and recordings
6+
- Include workflows to release WebDriverManager in Maven Central and doc in GH Pages
7+
8+
### Changed
9+
- Bump to WebDriverManager 6.3.1 (getRecordingBase64())
10+
11+
312
## [6.2.0] - 2025-07-18
413
### Changed
514
- Bump to WebDriverManager 6.2.0 (fix Edge driver URL)
90.8 KB
Loading
123 KB
Loading

src/doc/asciidoc/index.adoc

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,23 @@ If we run this test in Jenkins in which is already installed and configured the
344344
.Example of test execution through Jenkins with attachments
345345
image::jenkins-attachements-test.png[scaledwidth=100%]
346346

347+
348+
=== Reporting
349+
As of version 6.3.0, Selenium-Jupiter provides built-in reporting capabilities through https://extentreports.com/[ExtentReports]. This feature is enabled out of the box. All the tests executed with Selenium-Jupiter in the same suite will be reported (passed, skipped, failed) in a single HTML report per test suite execution. In addition, all the video recordings, both using `@DockerBrowser` and `@Watch`, will be gathered by Selenium-Jupiter and added to the resulting report (internally, the videos are encoded as Base64 in the HTML report), for example:
350+
351+
[.thumb]
352+
.Test report with embedded recording
353+
image::selenium-jupiter-report-example-1.png[scaledwidth=100%]
354+
355+
356+
Finally, when a test fails, Selenium-Jupiter will gather two troubleshooting resources from the browser. First, it will try to take a screenshot of the browser (if it is still available). Second, it will try to gather the browser console logs, if possible. The screenshot(s) and the log(s) are automatically added for failed tests, for example:
357+
358+
[.thumb]
359+
.Test report with gathered screenshots and browser console logs
360+
image::selenium-jupiter-report-example-2.png[scaledwidth=100%]
361+
362+
You can find a complete HTML report example in this link:reports/selenium-jupiter-20250902-150317.html[link].
363+
347364
== Examples
348365
All the examples presented in this documentation are available in the https://github.com/bonigarcia/selenium-jupiter/tree/master/src/test/java/io/github/bonigarcia/seljup/test/[Selenium-Jupiter tests]. Moreover, different public repositories contain test examples using Selenium-Jupiter, such as:
349366

@@ -373,7 +390,8 @@ The following table describes all the possible Java methods in the Selenium-Jupi
373390
[options="header"]
374391
|=======
375392
|Java API|Configuration key|Default value|Description
376-
|`setOutputFolder(String)` `useSurefireOutputFolder()`|`sel.jup.output.folder`|`.`|Output folder for recordings and screenshots. This key accepts the special value `surefire-reports` for the <<integration-with-jenkins,integration with Jenkins>>. In case of the special value `surefire-reports` there will *always* be a separate output folder per class (see below, `setOutputFolderPerClass(boolean)`).
393+
|`setOutputFolder(String)` `useSurefireOutputFolder()`|`sel.jup.output.folder`|`.`|Output folder for recordings, screenshots, and reports. This key accepts the special value `surefire-reports` for the <<integration-with-jenkins,integration with Jenkins>>. In case of the special value `surefire-reports` there will *always* be a separate output folder per class (see below, `setOutputFolderPerClass(boolean)`).
394+
|`setReportFileName(String)`|`sel.jup.report.file.name`|`selenium-jupiter-{date}.html`|File name for the HTML report created in each test suite execution. If the `{date}` placeholder is used in this name, the system timestamp is added. By default, this file is created in the current folder (see previous configuration key).
377395
|`setOutputFolderPerClass(boolean)`|`sel.jup.output.folder.per.class`|`false`|In case this value is `true`, the output files will be provided in separate folders per class. Otherwise, the output files
378396
will be directly provided in the output folder.
379397
|`setScreenshot(boolean)` `enableScreenshot()`|`sel.jup.screenshot`|`false`|Enable screenshots at the end of the test

0 commit comments

Comments
 (0)