Local Appium server management
If you don't run an external Appium server, Kolibrium can manage a local one for you. Pass a service when defining your app:
object MyAndroidApp : AndroidApp(
appPackage = "com.example.app",
appActivity = ".MainActivity",
service = appiumService {
port = 4723
logLevel = "info"
},
)
When service is provided, the harness starts it before creating the driver session and stops it during teardown. A JVM shutdown hook prevents orphaned Appium processes on abnormal exits.
When service is null (the default), no local server is managed - tests connect to whatever Appium server is already running.