Skip to content

Commit

Permalink
Added documentation about Selenium 4.x integration
Browse files Browse the repository at this point in the history
  • Loading branch information
budtmo committed Aug 8, 2023
1 parent 0a026de commit 92a5487
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ The differences between normal version and pro version are:
|language|No|Yes|Set up language on Android emulator on fly|
|root-privileged|No|Yes|Able to run command with security privileged|
|headless-mode|No|Yes|Save resources by using headless mode|
|Selenium 4.x integration|No|Yes|Running UI-Tests againt one / Selenium Hub endpoint|
|multiple Android-Simulators|No|Yes (soon)|Save resources by having multiple Android-Simulators on one docker-container|
|Google Play Store|No|Yes (soon)|-|
|Video Recording|No|Yes (soon)|Helpful for debugging|
Expand Down
11 changes: 11 additions & 0 deletions documentations/DOCKER-ANDROID-PRO.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ The differences between normal version and pro version are:
|language|No|Yes|Set up language on Android emulator on fly|
|root-privileged|No|Yes|Able to run command with security privileged|
|headless-mode|No|Yes|Save resources by using headless mode|
|Selenium 4.x integration|No|Yes|Running Appium UI-Tests againt one (Selenium Hub) endpoint for Android- and iOS emulator(s) / device(s)|
|multiple Android-Simulators|No|Yes (soon)|Save resources by having multiple Android-Simulators on one docker-container|
|Google Play Store|No|Yes (soon)|-|
|Video Recording|No|Yes (soon)|Helpful for debugging|
Expand All @@ -31,6 +32,7 @@ List of Docker-Images
|11.0|30|Headless|budtmo2/docker-android-pro:emulator_headless_11.0|budtmo2/docker-android-pro:emulator_headless_11.0_<release_version>|
|12.0|32|Headless|budtmo2/docker-android-pro:emulator_headless_12.0|budtmo2/docker-android-pro:emulator_headless_12.0_<release_version>|
|13.0|33|Headless|budtmo2/docker-android-pro:emulator_headless_13.0|budtmo2/docker-android-pro:emulator_headless_13.0_<release_version>|
|-|-|Selenium|budtmo2/docker-android-pro:selenium|budtmo2/docker-android-pro:selenium_<release_version>|

***Note: Headless mode does not have any Web-UI***

Expand Down Expand Up @@ -77,4 +79,13 @@ You can change the language setting of Android Emulator on the fly by passing fo
- EMULATOR_COUNTRY="\<country>"


Selenium
--------

Pull and run image that contains Selenium with Appium urls and its capabilities which is stored inside node.json file:

```
docker run -t --rm --name selenium -p 4444:4444 -v $PWD/pro-example/node.json:/home/seleniumusr/selenium_node_config/node.json budtmo2/docker-android-pro:selenium
```

[<- BACK TO README](../README.md)
16 changes: 16 additions & 0 deletions documentations/pro-example/node.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[
{
"appium_url": "http://xx.xx.xx.xx:4723",
"capability_platform": "android",
"capability_platform_version": "11.0",
"capability_device_name": "samsung_galaxy_s6_11.0",
"capability_automation_name": "UIAutomator2"
},
{
"appium_url": "http://xx.xx.xx.xx:4724",
"capability_platform": "android",
"capability_platform_version": "10.0",
"capability_device_name": "nexus_5_10.0",
"capability_automation_name": "UIAutomator2"
}
]

0 comments on commit 92a5487

Please sign in to comment.