Skip to content

Include type and stackTrace in logging for console API #419

Description

@alexeyr-ci

We have

ferrum/lib/ferrum/page.rb

Lines 358 to 362 in 98a7acb

if @browser.options.logger
on("Runtime.consoleAPICalled") do |params|
params["args"].each { |r| @browser.options.logger.puts(r["value"]) }
end
end

but it doesn't include params["type"] or params["stackTrace"], and they seem to be useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions