Skip to content

Allow subclassing of WebDriver class #71

@gggeek

Description

@gggeek

Currently the WebDriver class is declared final.

This is a pity, as the Selenium2Driver has a method setWebDriver which is typehinted against it.
This means that it is not easy for me to subclass either.
I propose that

  • either we remove the 'final' keyword from WebDriver
  • or we introduce an interface WebDriverInterface (all it needs is the session method) which can be used by 3rd parties for typehinting...

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