Retry a capture task if the injectJs script throws an exception. Fix how the artifact iframe height is calculated.
Adds failure state to capture output when no image is supplied to reporting a run result