File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
rb/lib/selenium/webdriver/bidi Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ def on_console_entry(...)
55
55
56
56
on_log do |params |
57
57
type = params [ 'type' ]
58
- console_log_events ( params , filter_by , ...) if type . eql? ( 'console' )
58
+ console_log_events ( params , ...) if type . eql? ( 'console' )
59
59
end
60
60
end
61
61
@@ -64,14 +64,14 @@ def on_javascript_log(...)
64
64
65
65
on_log do |params |
66
66
type = params [ 'type' ]
67
- javascript_log_events ( params , filter_by , ...) if type . eql? ( 'javascript' )
67
+ javascript_log_events ( params , ...) if type . eql? ( 'javascript' )
68
68
end
69
69
end
70
70
71
71
def on_javascript_exception ( ...)
72
72
on_log do |params |
73
73
type = params [ 'type' ]
74
- javascript_log_events ( params , ...) if type . eql? ( 'javascript' )
74
+ javascript_log_events ( params , FilterBy . log_level ( 'error' ) , ...) if type . eql? ( 'javascript' )
75
75
end
76
76
end
77
77
You can’t perform that action at this time.
0 commit comments