- Docs
-
Capabilities
Appium Capabilities Generator
Generate Appium capabilities for your mobile automated tests. Choose your device, OS version and configuration options to get the exact code you need for Java, Python, NodeJS, C#, Ruby or PHP.
Allows you to customize the name of the test, as it will appear in the dashboard.
Group tests under the same build identifier for easy retrieval.
Run the test from a different geographical location.
Looking for more options? See all Appium capabilities.
W3C is the newest WebDriver protocol, TestingBot recommends using W3C.
Copy
MutableCapabilities capabilities = new MutableCapabilities();
capabilities.setCapability(CapabilityType.BROWSER_NAME, "safari");
capabilities.setCapability(CapabilityType.BROWSER_VERSION, "18.6");
capabilities.setCapability("appium:deviceName", "iPhone 16");
capabilities.setCapability(CapabilityType.PLATFORM_NAME, "iOS");`