@@ -133,7 +133,40 @@ public enum GeneralServerFlag implements ServerArgument {
133133 * Default: []
134134 * Sample: --deny-insecure=foo,bar
135135 */
136- DENY_INSECURE ("--deny-insecure" );
136+ DENY_INSECURE ("--deny-insecure" ),
137+ /**
138+ * Plugins are little programs which can be added to an Appium installation and activated, for the purpose of
139+ * extending or modifying the behavior of pretty much any aspect of Appium.
140+ * Plugins are available with Appium as of Appium 2.0.
141+ * To activate all plugins, you can use the single string "all" as the value (e.g --plugins=all)
142+ * Default: []
143+ * Sample: --plugins=device-farm,images
144+ */
145+ PLUGINS ("--plugins" ),
146+ /**
147+ * A comma-separated list of installed driver names that should be active for this server.
148+ * All drivers will be active by default.
149+ * Default: []
150+ * Sample: --drivers=uiautomator2,xcuitest
151+ */
152+ DRIVERS ("--drivers" ),
153+ /**
154+ * Base path to use as the prefix for all webdriver routes running on this server.
155+ * Sample: --base-path=/wd/hub
156+ */
157+ BASEPATH ("--base-path" ),
158+ /**
159+ * Set the default desired client arguments for a plugin.
160+ * Default: []
161+ * Sample: [ '{"images":{"foo1": "bar1", "foo2": "bar2"}}' | /path/to/pluginArgs.json ]
162+ */
163+ PLUGINARGS ("--plugin-args" ),
164+ /**
165+ * Set the default desired client arguments for a driver.
166+ * Default: []
167+ * Sample: [ '{"xcuitest": {"foo1": "bar1", "foo2": "bar2"}}' | /path/to/driverArgs.json ]
168+ */
169+ DRIVERARGS ("--driver-args" );
137170
138171 private final String arg ;
139172
0 commit comments