[e2e] Reland and fix taking screenshots on non-timeout errors
[e2e] Reland and fix taking screenshots on non-timeout errors

Bug: 1181777
Change-Id: I7664f0b2e06979f1ca8efcd4d51713301a833997
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3930123
Reviewed-by: Alex Rudenko <d8d88e7d7e77f69e23d1d1432231196fb8e02a62@chromium.org>
Commit-Queue: Philip Pfaffe <639a645feae3653b7aaefa0387217d375f2f82ff@chromium.org>

ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend