You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see the Screenshot location in HTML report always looks for src = \images - instead i want to change this to custom location within my project, can someone help me to achieve this ?
The text was updated successfully, but these errors were encountered:
Hi @melvinpradep , the images are placed inside that folder to ensure:
the report is portable (you could zip it up and send it to a friend)
only the content for that explicit test run is stored/shared/loaded
When you take a screenshot and call the embed command, 2 images are made. One image is stored in whatever location you give to save_screenshot, and the other is stored in the /images dir of the report. I usually delete the un-embeded screenshot file and ONLY keep the images which live in the report folder.
The report would become brittle if you moved the images outside the report directory, I do not recommend it. However, if you want to experiment start with the following code block in html.rb
I see the Screenshot location in HTML report always looks for src = \images - instead i want to change this to custom location within my project, can someone help me to achieve this ?
The text was updated successfully, but these errors were encountered: