{"repo":"appium/appium-docker-android","free":true,"listed":false,"github":"https://github.com/appium/appium-docker-android","clone":"git clone https://github.com/appium/appium-docker-android.git","description":"Appium Server setup to automate android testing on real devices","language":"Shell","stars":670,"topics":["android","docker","appium","docker-container","docker-image","dockerfile","docker-android","docker-appium"],"license":null,"category":"mobile-apps","readme_excerpt":"Appium Docker for Android Why is this approach needed at first place? - Helps in quick & easier setup of automation environment for Appium + Android - Without this approach, you'll need to do each of the automation setup steps manually; which can be slow and error prone Images Included: - appium/appium - Docker Image to run appium tests on real Android devices. - To execute in Android emulator's please visit docker-android How to Build: $ docker build -t \"appium/appium:local\" -f Appium/Dockerfile Appium Quick Start 1. Connect Android device to the machine via USB 2. Run Appium-Docker-Android OR you can get the id of the device via this command and pass the device-id to container to have more security 3. Run following command to verify adb devices can detect the connected android device. On Windows OS, you need to specify the host to host.docker.internal 4. Run UI Test with following test configuration On Windows OS, you need to set the capability appium:remoteAdbHost to host.docker.internal . This capability is supported by various drivers: UiAutomator2, Espresso, Flutter. Additional configuration Share Android identification key Each time, you will (re)create container, connected to container devices will ask for authorization after first connection. To prevent that, you can share one identity through all created containers. To do that, you should: - Connect all devices to docker physical machine - Run adb devices - Authorize all devices (do not forget to check Always allow ","default_branch":null,"files":null,"tree":[],"storefront":"/r/appium","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/appium/appium-docker-android/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}