set correct log level for clientutils click()
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -59,7 +59,7 @@ | ... | @@ -59,7 +59,7 @@ |
59 | fallbackToHref = typeof fallbackToHref === "undefined" ? true : !!fallbackToHref; | 59 | fallbackToHref = typeof fallbackToHref === "undefined" ? true : !!fallbackToHref; |
60 | var elem = this.findOne(selector); | 60 | var elem = this.findOne(selector); |
61 | if (!elem) { | 61 | if (!elem) { |
62 | this.log("click(): Couldn't find any element matching '" + selector + "' selector"); | 62 | this.log("click(): Couldn't find any element matching '" + selector + "' selector", "error"); |
63 | return false; | 63 | return false; |
64 | } | 64 | } |
65 | var evt = document.createEvent("MouseEvents"); | 65 | var evt = document.createEvent("MouseEvents"); | ... | ... |
-
Please register or sign in to post a comment