| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
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.
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>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.
| Back | FazBrowse Home | New Git URL |