Skip to content
This repository has been archived by the owner on Apr 19, 2022. It is now read-only.

[relaxed-caps-plugin] Invoke next() callback after modifying the capabilities #100

Open
sudharsan-selvaraj opened this issue Feb 3, 2022 · 1 comment

Comments

@sudharsan-selvaraj
Copy link

sudharsan-selvaraj commented Feb 3, 2022

When the relaxed-caps plugin is used along with any other plugins, hande method present in other activated plugins is not invoked by appium.

Instead of creating a new session directly from the plugin, invoke next method so that other plugins will also get notified about the new session.

Scenario
Start appium server and load relaxed-caps and appium-device-farm plugin together. Now when new session is requested from the client, device-farm plugin will never be notified, since the relaxed caps plugin will handle the request and the next function is not being called. So this will block the users from trying out other plugins without updating their appium client version.

@jlipps
Copy link
Contributor

jlipps commented Feb 7, 2022

OK, thanks for the report

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants