(#1230) - Ensure browsers correctly report errors in selenium