@@ -263,4 +263,99 @@ public interface IOSMobileCapabilityType extends CapabilityType {
263
263
*/
264
264
String WDA_CONNECTION_TIMEOUT = "wdaConnectionTimeout" ;
265
265
266
+ /**
267
+ * Apple developer team identifier string.
268
+ * Must be used in conjunction with xcodeSigningId to take effect.
269
+ * e.g., JWL241K123
270
+ */
271
+ String XCODE_ORG_ID = "xcodeOrgId" ;
272
+
273
+ /**
274
+ * String representing a signing certificate.
275
+ * Must be used in conjunction with xcodeOrgId.
276
+ * This is usually just iPhone Developer.
277
+ */
278
+ String XCODE_SIGNING_ID = "xcodeSigningId" ;
279
+
280
+ /**
281
+ * Bundle id to update WDA to before building and launching on real devices.
282
+ * This bundle id must be associated with a valid provisioning profile.
283
+ * e.g., io.appium.WebDriverAgentRunner.
284
+ */
285
+ String UPDATE_WDA_BUNDLEID = "updatedWDABundleId" ;
286
+
287
+ /**
288
+ * Whether to perform reset on test session finish (false) or not (true).
289
+ * Keeping this variable set to true and Simulator running
290
+ * (the default behaviour since version 1.6.4) may significantly shorten the
291
+ * duratiuon of test session initialization.
292
+ * Defaults to true.
293
+ */
294
+ String RESET_ON_SESSION_START_ONLY = "resetOnSessionStartOnly" ;
295
+
296
+ /**
297
+ * Custom timeout(s) in milliseconds for WDA backend commands execution.
298
+ */
299
+ String COMMAND_TIMEOUTS = "commandTimeouts" ;
300
+
301
+ /**
302
+ * Number of times to try to build and launch WebDriverAgent onto the device.
303
+ * Defaults to 2.
304
+ */
305
+ String WDA_STARTUP_RETRIES = "wdaStartupRetries" ;
306
+
307
+ /**
308
+ * Time, in ms, to wait between tries to build and launch WebDriverAgent.
309
+ * Defaults to 10000ms.
310
+ */
311
+ String WDA_STARTUP_RETRY_INTERVAL = "wdaStartupRetryInterval" ;
312
+
313
+ /**
314
+ * Set this option to true in order to enable hardware keyboard in Simulator.
315
+ * It is set to false by default, because this helps to workaround some XCTest bugs.
316
+ */
317
+ String CONNECT_HARDWARE_KEYBOARD = "connectHardwareKeyboard" ;
318
+
319
+ /**
320
+ * Maximum frequency of keystrokes for typing and clear.
321
+ * If your tests are failing because of typing errors, you may want to adjust this.
322
+ * Defaults to 60 keystrokes per minute.
323
+ */
324
+ String MAX_TYPING_FREQUENCY = "maxTypingFrequency" ;
325
+
326
+ /**
327
+ * Use native methods for determining visibility of elements.
328
+ * In some cases this takes a long time.
329
+ * Setting this capability to false will cause the system to use the position
330
+ * and size of elements to make sure they are visible on the screen.
331
+ * This can, however, lead to false results in some situations.
332
+ * Defaults to false, except iOS 9.3, where it defaults to true.
333
+ */
334
+ String SIMPLE_ISVISIBLE_CHECK = "simpleIsVisibleCheck" ;
335
+
336
+ /**
337
+ * Use SSL to download dependencies for WebDriverAgent. Defaults to false.
338
+ */
339
+ String USE_CARTHAGE_SSL = "useCarthageSsl" ;
340
+
341
+ /**
342
+ * Use default proxy for test management within WebDriverAgent.
343
+ * Setting this to false sometimes helps with socket hangup problems.
344
+ * Defaults to true.
345
+ */
346
+ String SHOULD_USE_SINGLETON_TESTMANAGER = "shouldUseSingletonTestManager" ;
347
+
348
+ /**
349
+ * Set this to true if you want to start ios_webkit_debug proxy server
350
+ * automatically for accessing webviews on iOS.
351
+ * The capatibility only works for real device automation.
352
+ * Defaults to false.
353
+ */
354
+ String START_IWDP = "startIWDP" ;
355
+
356
+ /**
357
+ * Enrolls simulator for touch id. Defaults to false.
358
+ */
359
+ String ALLOW_TOUCHID_ENROLL = "allowTouchIdEnroll" ;
360
+
266
361
}
0 commit comments