Attach base64 image to Allure Reports #1718
-
I am building a selenium framework (Java + Junit5) But I do not know how to add Base64 image to Allure Reports. I try the following way but it did not work as expected.
Please help me to make Allure Reports recognize that I want to render my screenshot as Base64 Type not as a plain text. Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You need to specify the correct content type. In your case, you are adding |
Beta Was this translation helpful? Give feedback.
You need to specify the correct content type. In your case, you are adding
html
content, so you need to usetext/html