Skip to content

Get console logs, fail when error logged #8

@noahgibbs

Description

@noahgibbs

Chrome allows just grabbing error logs that have already occurred: https://stackoverflow.com/questions/46278514/capture-browser-console-logs-with-capybara

That's workable. It would also be possible to replace the console.log/console.error etc functions with something that captures them. But it's nice to be able to grab error logs natively because that works with browser stuff that goes around the JS definitions and also works when Scarpe fails to boot properly, so it may not be able to replace the console.log, console.error, etc functions.

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