open_on_failure option to open screenshot automatically after failure