public string BuildEvidenceForHTML() { var resultEvidence = new StringBuilder(); resultEvidence.AppendLine(WebElementBuilder.FormatAndEncapsulateParagraph(bonusEvidence)); resultEvidence.AppendLine(WebElementBuilder.FormatParagraph("User Interface Screenshot: " + Environment.NewLine + WebElementBuilder.FormatImageElement(ScreenShot))); return(resultEvidence.ToString()); }
public void AddMessage(string message) { msg.Append(WebElementBuilder.FormatAndEncapsulateParagraph(message)); }