Sign inSign up

rgonalo/appium-emulator

By rgonalo

•Updated over 8 years ago

Appium server to run tests on Android emulators

Image
5

2.7K

rgonalo/appium-emulator repository overview

⁠Appium Emulator

Appium server to run tests on Android emulators.

⁠How to use this image

⁠Launch the image
$ docker run -d -P --name appium-emulator rgonalo/appium-emulator
⁠Get Appium server ip and port

You can acquire the port that the Appium server is exposed to by running:

$ docker port appium-emulator
#=> 0.0.0.0:49412

In Linux, Appium server ip is 127.0.0.1, but in Windows and Mac you must acquire the ip by running:

$ docker-machine ip
#=> 192.168.99.100
⁠Run Appium tests

Execute your Appium tests on the remote server 192.168.99.100:49412. The test will be executed in a Nexus S emulator with Android 4.4 (API 19).

You can tail Appium server logs with the following docker command:

$ docker logs --follow appium-emulator

To install an APK, copy the APK file into the container and then install it with adb from container:

$ docker cp APK_FILE appium-emulator:/
$ docker exec -it appium-emulator adb install APK_FILE

Tag summary

Content type

Image

Digest

Size

809.4 MB

Last updated

over 8 years ago

docker pull rgonalo/appium-emulator