Skip to content

[🚀 Feature]: Better compatibility with Appium #13949

Closed
@mykola-mokhnach

Description

@mykola-mokhnach

Feature and motivation

We would like to improve the compatibility between Appium and Selenium java clients. As the first step it would make sense to avoid using reflection to access various private properties of selenium classes and only rely on public or protected interfaces.

Usage example

Here is the list of changes needed to be done in order to enhance the compatibility:

Increase the scope of private properties of the below classes to 'protected':

RemoteWebDriver -> capabilities

HttpCommandExecutor -> commandCodec

HttpCommandExecutor -> responseCodec

FluentWait -> clock
FluentWait -> timeout
FluentWait -> interval
FluentWait -> sleeper
FluentWait -> ignoredExceptions
FluentWait -> messageSupplier
FluentWait -> input

Make public accessor for the property:

HttpCommandExecutor -> client

DriverService.Builder -> exe

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-javaJava BindingsI-enhancementSomething could be better

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions