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(...)
5555
5656 on_log do |params |
5757 type = params [ 'type' ]
58- console_log_events ( params , filter_by , ...) if type . eql? ( 'console' )
58+ console_log_events ( params , ...) if type . eql? ( 'console' )
5959 end
6060 end
6161
@@ -64,14 +64,14 @@ def on_javascript_log(...)
6464
6565 on_log do |params |
6666 type = params [ 'type' ]
67- javascript_log_events ( params , filter_by , ...) if type . eql? ( 'javascript' )
67+ javascript_log_events ( params , ...) if type . eql? ( 'javascript' )
6868 end
6969 end
7070
7171 def on_javascript_exception ( ...)
7272 on_log do |params |
7373 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' )
7575 end
7676 end
7777
You can’t perform that action at this time.
0 commit comments