Skip to content

Add Selenium WebDriver BiDi log and network reporting#1270

Merged
baev merged 1 commit into
mainfrom
bidi
May 8, 2026
Merged

Add Selenium WebDriver BiDi log and network reporting#1270
baev merged 1 commit into
mainfrom
bidi

Conversation

@baev
Copy link
Copy Markdown
Member

@baev baev commented May 8, 2026

Context

This PR adds a new allure-selenium-bidi module for Selenium users who enable WebDriver BiDi. The integration automatically enriches Allure test results with aggregated browser console log and network metadata attachments, without requiring per-test cleanup code. If BiDi is unavailable or unsupported for a driver session, the integration degrades silently and does not affect the test outcome.

Users can wrap a Selenium driver with AllureWebDriverBiDi:

static final AllureWebDriverBiDi ALLURE_BIDI = new AllureWebDriverBiDi();

ChromeOptions options = new ChromeOptions().enableBiDi();
WebDriver driver = ALLURE_BIDI.decorate(new ChromeDriver(options));

By default, the integration captures logs and network metadata, attaches only non-empty data, and redacts sensitive headers such as Authorization, Cookie, Set-Cookie, and X-Api-Key. The network attachment includes request and response metadata exposed by Selenium’s stable BiDi API, but does not capture request or response bodies.

Checklist

@baev baev added the type:new feature Change that add something new for end users label May 8, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 8, 2026

Allure Report Summary

Name Duration Stats New Flaky Retry Report
Allure Java – Pull request #1270 11m 34s Passed tests 957   Skipped tests 4 14 0 0

@baev baev merged commit 7ff0fae into main May 8, 2026
9 of 10 checks passed
@baev baev deleted the bidi branch May 8, 2026 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

theme:build theme:core type:new feature Change that add something new for end users

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants