Skip to content

Improve HTTP errors handling #809

Description

@macbre

HTTP 401

$ ./bin/phantomas.js 'https://httpbin.org/basic-auth/foo/bar'
Error: Protocol error (Performance.getMetrics): Target closed.

HTTP 404

./bin/phantomas.js http://127.0.0.1:8888/not_found 2>&1
Error: Navigation failed because browser has disconnected!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions