AppiumTestDistribution / appium-wait-plugin

Plugin to automatically manage all element waits and enables to write wait-free appium tests.
MIT License
60 stars 10 forks source link

example of config JSON usage #42

Closed JuanCarlos-Arceredillo closed 1 year ago

JuanCarlos-Arceredillo commented 1 year ago

Hi,

Could you show how to initialize the appium server with this plugin using the config json file of the docs ?

Thank you

saikrishna321 commented 1 year ago

Please refer this https://github.com/AppiumTestDistribution/appium-device-farm/blob/main/server-config.json

You need to change the plug-in name to 'element-wait'

JuanCarlos-Arceredillo commented 1 year ago

Hi @saikrishna321 ,

Thank you for this information. My question is more related to how to set to appium that it should use this json file.

Do we need to place this file in a specific path ? or, Has appium got an argument to set that it has to read this file ?

saikrishna321 commented 1 year ago

appium server -ka 800 --config pathtothefile/server-config.json -pa /wad/hub

JuanCarlos-Arceredillo commented 1 year ago

Thank you for the information @saikrishna321