").append(getFormattedMessage(log))
+ .append("
");
+ }
+ if (includeScreenshot) {
+ ofNullable(log.getAttachment()).ifPresent(
+ attachment -> addAttachmentToDescription(descriptionBuilder, attachment, attachmentsURL));
+ }
+ }
+
+ private void addAttachmentToDescription(StringBuilder descriptionBuilder, Attachment attachment,
+ List