Driver.Execute overrides do not work for WebElement's methods
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
The next version will bump up the deps version. https://github.com/appium/dotnet-client/pull/940 or with https://github.com/appium/dotnet-client/pull/955 as well
@chesunn, can you please check with the latest version? https://github.com/appium/dotnet-client/releases/tag/v8.0.1