Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Outline

allure-selenium-bidi

Selenium WebDriver BiDi listener integration for Allure Java.

Use this module when your Selenium 4 browser tests need browser log and network diagnostics collected through WebDriver BiDi and attached to Allure Report.

Supported Versions

  • Allure Java 3.x requires Java 17 or newer.
  • This module targets Selenium WebDriver 4 with BiDi support.
  • The current build validates against Selenium Java 4.44.0 and the matching docker-selenium 4.44.0-20260505 image.

Installation

Gradle:

dependencies {
    testImplementation(platform("io.qameta.allure:allure-bom:<allure-version>"))
    testImplementation("io.qameta.allure:allure-selenium-bidi")
}

Maven, with allure-bom imported in dependency management:

<dependency>
    <groupId>io.qameta.allure</groupId>
    <artifactId>allure-selenium-bidi</artifactId>
    <scope>test</scope>
</dependency>

Setup

Decorate a Selenium WebDriver with io.qameta.allure.seleniumbidi.AllureWebDriverBiDi.

AllureWebDriverBiDi bidi = new AllureWebDriverBiDi()
        .logs(true)
        .network(true)
        .maxLogEntries(500)
        .maxNetworkEvents(500)
        .redactHeaders("Authorization", "Cookie");

WebDriver driver = bidi.decorate(new ChromeDriver());

Close the listener at the end of the test or fixture when you manage it manually.

Report Output

  • Browser log events collected from WebDriver BiDi.
  • Network events collected from WebDriver BiDi.
  • Aggregated attachments with configurable limits and header redaction.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.