| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
Selenide listener integration for Allure Java.
Use this module when your UI tests use Selenide and you want Selenide actions, screenshots, page source, and browser logs to appear in Allure Report.
Gradle:
dependencies {
testImplementation(platform("io.qameta.allure:allure-bom:<allure-version>"))
testImplementation("io.qameta.allure:allure-selenide")
}Maven, with allure-bom imported in dependency management:
<dependency>
<groupId>io.qameta.allure</groupId>
<artifactId>allure-selenide</artifactId>
<scope>test</scope>
</dependency>Register io.qameta.allure.selenide.AllureSelenide with SelenideLogger, usually in a test fixture before browser actions start.
SelenideLogger.addListener(
"AllureSelenide",
new AllureSelenide()
.screenshots(true)
.savePageSource(true)
);You can also enable browser log capture for a specific Selenium log type:
new AllureSelenide()
.enableLogs(LogType.BROWSER, Level.SEVERE);| Back | FazBrowse Home | New Git URL |