TestProject Forum
Powered by leading experts in the test automation community

How to Set Desired Capabilities for starting the driver?

I am not able to set Desired Capabilities for Starting driver for IOS.

runner = Runner.createIOS(DEV_TOKEN, DEVICE_UDID, DEVICE_NAME, BUNDLE_ID);
driver = runner.getDriver();

I want to set Desired Capabilities for as we set in Appium like udid, orientation, noReset, launchTimeout

Hi NikhilAgarwal,

Why do you want to set the DesiredCapabilities yourself?
Can you please tell me what is missing for you? Maybe it already exists.

Kind regards,
Amit