File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,8 @@ def initialize(message = "Could not compute content quads")
8080
8181 class InvalidScreenshotFormatError < Error
8282 def initialize ( format )
83- super ( "Invalid value #{ format } for option `:format` (#{ Page ::Screenshot ::SUPPORTED_SCREENSHOT_FORMAT . join ( ' | ' ) } )" )
83+ valid_formats = Page ::Screenshot ::SUPPORTED_SCREENSHOT_FORMAT . join ( " | " )
84+ super ( "Invalid value #{ format } for option `:format` (#{ valid_formats } )" )
8485 end
8586 end
8687
Original file line number Diff line number Diff line change @@ -339,7 +339,8 @@ def bypass_csp(enabled: true)
339339 end
340340
341341 #
342- # Activates (focuses) the target for the given page. When you have multiple tabs you work with, and you need to switch a given one.
342+ # Activates (focuses) the target for the given page.
343+ # When you have multiple tabs you work with, and you need to switch a given one.
343344 #
344345 # @return [Boolean]
345346 #
You can’t perform that action at this time.
0 commit comments