Configuring remote Appium Server

You can use remote appium server. But there are some limitations.

Limitations on remote Appium Server

  1. Automatic device detection is not available. You have to configure profile explicitly.
  2. Automatic restarting appium server process is not available on rerunning test scenario.
  3. Automatic restarting virtual devices is not available on rerunning test scenario.

Example

  1. Set appiumServerUrl to the remote appium server.
appiumServerUrl=http://10.0.0.104:4723/
  1. 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"
      }
    }
  ]
  1. Start appium server on remote machine.
appium --session-override --relaxed-security
  1. Run the test written in Shirates.

Link