Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java: All searching interfaces are made generic #863

Closed
wants to merge 2 commits into from

Commits on Sep 13, 2015

  1. Configuration menu
    Copy the full SHA
    ab43a23 View commit details
    Browse the repository at this point in the history
  2. All searching interfaces are made generic

    The problem:
    
    There are many Selenium-based projects such as Appium (java_client),
    Selendroid, IOSDriver and so on. They are used not only
    for the web/browser testing and they have their own WebElement
    implementations. Also there is probably need to re-implement all changed
    interfaces for some end user purposes.
    
    Current design doesn't allow user to use their own WebElement subclasses
    without additional casting. It is annoying and makes code dirty. Any
    trying to avoid this causes problems.
    
    This change is backward compatible with existing projects and
    will allow to create factories or user's customized Webdrivers and
    WebElements that return desired WebElement subclasses.
    TikhomirovSergey committed Sep 13, 2015
    Configuration menu
    Copy the full SHA
    9aeafbf View commit details
    Browse the repository at this point in the history