Last active
February 19, 2020 10:59
-
-
Save aamsur-mkt/cb16119b228d9282037fa778398c3f7d to your computer and use it in GitHub Desktop.
Docker Android Seleniun RnD Notes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
===DOCKER COMPOSE=== | |
version: '3' | |
services: | |
selenium_hub: | |
image: selenium/hub | |
ports: | |
- "4444:4444" | |
emulator: | |
image: budtmo/docker-android-x86-9.0 | |
privileged: true | |
depends_on: | |
- selenium_hub | |
ports: | |
- 6080:6080 | |
- 4723:4723 | |
- 5554:5554 | |
- 5555:5555 | |
volumes: | |
- $PWD/sample.apk:/root/tmp | |
environment: | |
- DEVICE=Samsung Galaxy S6 | |
- CONNECT_TO_GRID=True | |
- APPIUM=true | |
- SELENIUM_HOST=selenium_hub | |
- AUTO_RECORD=false | |
- BROWSER=chrome | |
=== create custom emulator armeabi === | |
./avdmanager create avd --name NEXUS5 --abi google_apis/armeabi-v7a --device "Nexus 5" -k "system-images;android-21;google_apis;armeabi-v7a" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment