Configuring remote Appium Server
You can use remote appium server. But there are some limitations.
Limitations on remote Appium Server
- Automatic device detection is not available. You have to configure profile explicitly.
- Automatic restarting appium server process is not available on rerunning test scenario.
- Automatic restarting virtual devices is not available on rerunning test scenario.
Example
- Set
appiumServerUrl
to the remote appium server.
appiumServerUrl=http://10.0.0.104:4723/
- Configure profile explicitly. See Profile configuration
ex.
"profiles": [
{
"profileName": "remote device",
"capabilities": {
"automationName": "XCUITest",
"platformName": "iOS",
"deviceName": "iPhone 15(iOS 17.2)",
"bundleId": "com.apple.Preferences"
}
}
]
- Start appium server on remote machine.
appium --session-override --relaxed-security
- Run the test written in Shirates.