dekiru 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dekiru/capybara/matchers.rb +1 -1
- data/lib/dekiru/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ae4d2f88bf4f0db1e61e84464ea24df21523043c039f5b06fabf1a81d6a5f7d
|
4
|
+
data.tar.gz: a329f3991c66e86f0f76d859770291ce9d0a4b32391e7554a48183fde335445c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a5c8ff8add10ef86b6d165bb8ac9805cfd83bff5e3feca41b1d0237fcfefdcd81b9922b893d5f9f86f1408edb45c14903efafd3178b2fa8b66057d3bc8f2c057
|
7
|
+
data.tar.gz: 1f3724e621a879d91f43787c8b0a08cfd33a3b97b00069574753074337aab4abc1e18fd72a687017c54f3659fe5e88461335e381230342177c66a373de9907b9
|
@@ -3,7 +3,7 @@ module Dekiru
|
|
3
3
|
module Matchers
|
4
4
|
class JsNoErrorMatcher
|
5
5
|
def matches?(page_or_logs)
|
6
|
-
logs = page_or_logs.respond_to?(:driver) ?
|
6
|
+
logs = page_or_logs.respond_to?(:driver) ? page_or_logs.driver.browser.manage.logs.get(:browser) : page_or_logs
|
7
7
|
logs.find_all { |log| log.level == 'WARNING' }.each do |log|
|
8
8
|
STDERR.puts 'WARN: javascript warning'
|
9
9
|
STDERR.puts log.message
|
data/lib/dekiru/version.rb
CHANGED