Skip to content

Driver.Execute overrides do not work for WebElement's methods #947

@chesunn

Description

@chesunn

Description

Somewhere between Selenium 4.9.1 and 4.29.0 WebElement s started using InternalExecute instead of the protected Execute method on the driver.

The effect is that whatever method you call on an element (e.g Clear, SendKeys, GetAttribute) does not go through AppiumDriver's
protected override Response Execute(string driverCommandToExecute, Dictionary<string, object> parameters) or any other overrides of the method - bypassing any extensions made in user code as well.

Running with Selenium 4.31.0 which includes [dotnet] Unify protected and internal Execute methods does not exhibit this behaviour, thus #940 or #946 would be enough to fix this.

Environment

  • .NET client build version or git revision if you use some snapshot: 7.2.0

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