//Image attachments for Allure
@Step("Снятие скриншота в аллюр")
@Attachment(value = "Page screenshot", type = "image/png")
public static byte[] saveScreenshotPNG(WebDriver driver) {
return ((TakesScreenshot) driver).getScreenshotAs(OutputType.BYTES);
}