robotframework-browser icon indicating copy to clipboard operation
robotframework-browser copied to clipboard

[Xray compatibility] Add robot-seleniumlibrary-screenshot class to render embedded images

Open iliketomatoes opened this issue 11 months ago • 2 comments

When importing test results into Xray, embedded images are not rendered. Instead, Xray prints out the image's base64-encoded source as a string.

This is because Xray treats images correctly only if they include this attribute: class="robot-seleniumlibrary-screenshot".

Describe the solution you'd like As a temporary fix, we could add the class="robot-seleniumlibrary-screenshot" attribute to each img tag here, by default.

Additional context

iliketomatoes avatar Mar 15 '24 02:03 iliketomatoes