Selenium
Selenium itself doesn’t define a report format — your test runner does. Emit JUnit XML from JUnit, TestNG, pytest, or another runner, then submit with the CLI.
1. Install the CLI
npm install -D @testbeaver/cli export TESTBEAVER_API_TOKEN=cr_… export TESTBEAVER_PROJECT_ID=…
Create a token under Account. Full CLI reference: CLI docs.
2. Emit JUnit XML from your runner
# Java + JUnit 5 (Maven Surefire) mvn test # → target/surefire-reports/TEST-*.xml # Java + TestNG mvn test # → target/surefire-reports/TEST-*.xml # Python + pytest + Selenium pytest --junitxml=results.xml # JavaScript (e.g. WebdriverIO) — enable the junit reporter in wdio.conf.js
Pick the guide that matches your stack: JUnit, TestNG, or pytest.
3. Submit to TestBeaver
# Example: pytest + Selenium pytest --junitxml=results.xml testbeaver results submit \ --project "$TESTBEAVER_PROJECT_ID" \ --name "Selenium" \ --results results.xml
The CLI matches or creates cases from the report, starts a run, records results, and closes the run. See matching rules on the CLI page.
Other runners
Playwright · Cypress · pytest · JUnit · TestNG · Selenium · CLI