Bug 1238744 - replacing logger error with debug when logging accessibility issues. r=automatedtester
---
testing/marionette/accessibility.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/testing/marionette/accessibility.js
+++ b/testing/marionette/accessibility.js
@@ -223,17 +223,17 @@ Accessibility.prototype = {
}
if (element) {
let {id, tagName, className} = element;
message += `: id: ${id}, tagName: ${tagName}, className: ${className}`;
}
if (this.strict) {
throw new ElementNotAccessibleError(message);
}
- logger.error(message);
+ logger.debug(message);
},
/**
* Check if the element's visible state corresponds to its accessibility API
* visibility
* @param nsIAccessible object
* @param WebElement corresponding to nsIAccessible object
* @param Boolean visible element's visibility state