Skip to content

Exception handling does not work for W3C drivers #87

Closed

Description

@stof

The logic in https://github.com/instaclick/php-webdriver/blob/161f35e3c45d9fb93b1171a1394f8d555aab9525/lib/WebDriver/Exception.php maps error codes to exception classes, and throws a generic \Exception (not even an UnknownError from the package) for unrecognized error codes.
But this logic currently only recognizes integer-based error codes of the legacy protocol. The W3C protocol uses strings as error codes.

Activity

  1. stof commented on Oct 3, 2018

    @stof
    ContributorAuthor

    Refs #84

  2. added a commit that references this issue on Mar 19, 2024
    2896e5e
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions