[Request] - Can we start this plugin service along with the AppiumDriverLocalService? #686
Sivasankaramalan
started this conversation in
General
Replies: 2 comments
-
@Sivasankaramalan Yes you can use it.. It's |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes , thanks a lot. My builder code works : builder.withArgument(GeneralServerFlag.USE_PLUGINS, "images,device-farm,appium-dashboard");
builder.withArgument(() -> " --plugin-device-farm-platform", "android"); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Having a scenario, where our automated tests started the appium server runtime, Can we use this plugins parameters as arguments?
For example:
return AppiumDriverLocalService.buildService( new AppiumServiceBuilder() .usingDriverExecutable(new File(deviceProperties.getProperty("NODE_PATH"))) .withAppiumJS(new File(deviceProperties.getProperty("APPIUM_MAIN_JS_PATH"))) .usingAnyFreePort() .withArgument(GeneralServerFlag.SESSION_OVERRIDE) .withArgument(() -> "--base-path", "/wd/hub") .withArgument(() -> "--plugins", "appium-device-farm") .withEnvironment(environment) .withLogFile( new File( params.getPlatformName() + "_" + params.getDeviceName() + File.separator + "Server.log")));
Environment
Beta Was this translation helpful? Give feedback.
All reactions