Do I have the most recent component updates?
Is the component officially supported by the Appium team?
Is there an existing issue for this?
Current Behavior
This issue is related to https://github.com/appium/java-client/blob/master/docs/The-event_firing.md .
The proxy method is not able to intercept click action, only driver based methods are intercepted
Expected Behavior
Please provide a fix or documentation on how to intercept webelement method calls
Minimal Reproducible Example
MethodCallListener listener = new MethodCallListener() {
@Override
public void beforeCall(Object target, Method method, Object[] args) {
if (method.getName().equals("execute")) {
System.out.println(args[0].tostring());
}
};
IOSDriver decoratedDriver = createProxy(
IOSDriver.class,
new Object[] {new URL("http://localhost:4723/"), capabilities},
new Class[] {URL.class, Capabilities.class},
listener
);
decoratedDriver.findElement(Appium.id("id")).click();
Environment
- Operating system:
- Appium server version (output of
appium --version):
- Appium driver(s) and their version(s) (
appium driver list):
- Appium plugin(s) and their version(s) (
appium plugin list):
- Node.js version (output of
node --version):
npm version (output of npm --version):
- Last component(s) version which did not exhibit the problem:
- Platform and version under test:
- Real device or emulator/simulator:
Link to Appium Logs
No response
Further Information
No response
Do I have the most recent component updates?
Is the component officially supported by the Appium team?
Is there an existing issue for this?
Current Behavior
This issue is related to https://github.com/appium/java-client/blob/master/docs/The-event_firing.md .
The proxy method is not able to intercept click action, only driver based methods are intercepted
Expected Behavior
Please provide a fix or documentation on how to intercept webelement method calls
Minimal Reproducible Example
Environment
appium --version):appium driver list):appium plugin list):node --version):npmversion (output ofnpm --version):Link to Appium Logs
No response
Further Information
No response