* @throws JavaScriptErrorsFound
*/
public static void assertNoJavascriptErrors() throws JavaScriptErrorsFound {
List<String> jsErrors = getJavascriptErrors();
if (jsErrors != null && !jsErrors.isEmpty()) {
throw new JavaScriptErrorsFound(jsErrors);
}
}