Skip to content

Commit 61afe04

Browse files
committed
add new allowed commands and appium alternatives
1 parent f5affb0 commit 61afe04

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

docs/dev/test-configuration-options.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1702,7 +1702,7 @@ driver.executeScript("sauce: network-conditions", ImmutableMap.of(
17021702
Execute ADB shell commands, through Appium's `mobile: shell` capability.
17031703

17041704
:::note
1705-
Sauce Labs now supports ADB commands for Appium. To use ADB and `mobile: shell` commands, please [sign up for our BETA through this form](https://forms.gle/42qv8U1RukqC62x86) and indicate the desired ADB commands you would like to run. We will be supporting a limited list of ADB commands through `mobile: shell`. Please refer to the list of [allowed commands](https://docs.saucelabs.com/mobile-apps/mobile-faq/#im-encountering-errors-when-executing-adb-shell-commands-what-could-be-the-issue) or contact support for assistance.
1705+
Sauce Labs now supports ADB commands for Appium. We are supporting a limited list of ADB commands through `mobile: shell`. Please refer to the list of [allowed commands](/mobile-apps/mobile-faq/#im-encountering-errors-when-executing-adb-shell-commands-what-could-be-the-issue) or contact support for assistance.
17061706
:::
17071707

17081708

docs/mobile-apps/mobile-faq.md

+11-3
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Yes, by using virtual USB, but only on private Android devices. Currently, iOS d
7575
#### **I'm encountering errors when executing ADB shell commands. What could be the issue?**
7676

7777
If you're facing challenges with ADB shell commands during your automated Appium tests, ensure that you are using the
78-
[mobile: shell script](https://docs.saucelabs.com/dev/test-configuration-options/#mobile-shell) correctly.
78+
[mobile: shell script](/dev/test-configuration-options/#mobile-shell) correctly.
7979

8080
We maintain an allowlist of commands that can be executed within our Real Device Cloud. Please refer to the list of allowed commands to ensure compatibility:
8181
* am start
@@ -86,13 +86,21 @@ We maintain an allowlist of commands that can be executed within our Real Device
8686
* getprop
8787
* am compat enable
8888
* cmd connectivity airplane-mode (enable|disable)
89-
* settings put global (animator_duration_scale|transition_animation_scale|window_animation_scale) {`<value>`}
90-
* setprop debug.firebase.analytics.app {`<value>`}
89+
* settings put global (animator_duration_scale|transition_animation_scale|window_animation_scale) {`<VALUE>`}
90+
* setprop debug.firebase.analytics.app {`<VALUE>`}
9191
* setprop (log.tag.FA|log.tag.FA-SVC) (ERROR|WARN|INFO|DEBUG|VERBOSE)
92+
* setprop (log.tag.FA|log.tag.FA-SVC|log.tag.GAv4|log.tag.GAv4-SVC) (ERROR|WARN|INFO|DEBUG|VERBOSE)
93+
* appops set {`<PACKAGE_NAME>`} REQUEST_INSTALL_PACKAGES allow
9294

9395
If the command you require is not listed, you can submit a request through this [form](https://docs.google.com/forms/d/1t4MCf6ClHlLxX80RP5bNU9wVJBhQOd4ll6IjP0ecMgc)
9496
or reach out to your Customer Success Manager or Sauce Labs Support for assistance.
9597

98+
:::note Appium alternatives
99+
100+
- am broadcast: use [mobile: broadcast](https://github.com/appium/appium-uiautomator2-driver?tab=readme-ov-file#mobile-broadcast)
101+
102+
:::
103+
96104
### Security
97105

98106
#### **Is my app safe in the Real Device Cloud?**

0 commit comments

Comments
 (0)