You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
appium:networkSpeed | Sets the desired network speed limit for the emulator. It is only applied if the emulator is not running before the test starts. See emulator [command line arguments](https://developer.android.com/studio/run/emulator-commandline) description for more details.
128
128
appium:gpsEnabled | Sets whether to enable (`true`) or disable (`false`) GPS service in the Emulator. Unset by default, which means to not change the current value
129
129
appium:isHeadless | If set to `true` then emulator starts in headless mode (e.g. no UI is shown). It is only applied if the emulator is not running before the test starts. `false` by default.
130
-
appium:injectedImageProperties | Allows adjusting of injected image properties, like size, position or rotation. The image itself is expected to be injected by [mobile: injectEmulatorCameraImage](#mobile-injectemulatorcameraimage) extension. It is also mandatory to provide this capability if you are going to use the injection feature on a newly created/resetted emulator as it __enforces emulator restart__, so it could properly reload the modified image properties. The value itself is a map, where possible keys are `size`, `position` and `rotation`. All of them are optional. If any of values is not provided then the following defaults are used: `{size: {scaleX: 1, scaleY: 1}, position: {0, 0, -1.5}, rotation: {0, 0, 0}}`. The `size` value contains scale multipliers for X and Y axes. The `position` contains normalized coefficients for X/Y/Z axes, where `0` means it should be centered in the viewport. Values in the `rotation` are measured in degrees respectively for X, Y and Z axis. The capability is available since the driver version 3.6.0.
130
+
appium:injectedImageProperties | Allows adjusting of injected image properties, like size, position or rotation. The image itself is expected to be injected by [mobile: injectEmulatorCameraImage](#mobile-injectemulatorcameraimage) extension. It is also mandatory to provide this capability if you are going to use the injection feature on a newly created/resetted emulator as it __enforces emulator restart__, so it could properly reload the modified image properties. The value itself is a map, where possible keys are `size`, `position` and `rotation`. All of them are optional. If any of values is not provided then the following defaults are used: `{size: {scaleX: 1, scaleY: 1}, position: {x: 0, y: 0, z: -1.5}, rotation: {x: 0, y: 0, z: 0}}`. The `size` value contains scale multipliers for X and Y axes. The `position` contains normalized coefficients for X/Y/Z axes, where `0` means it should be centered in the viewport. Values in the `rotation` are measured in degrees respectively for X, Y and Z axis. The capability is available since the driver version 3.6.0.
131
131
132
132
### App Signing
133
133
@@ -1509,10 +1509,12 @@ It is mandatory to provide a value (it could also be an empty map to use default
1509
1509
the [appium:injectedImageProperties capability](#emulator-android-virtual-device)
1510
1510
in order to prepare the emulator for image injection if this extension is used
1511
1511
on a newly created or resetted device.
1512
+
1512
1513
There is also a possiblity to perform a manual configuration of the necessary preconditions
1513
1514
if you don't want to restart the emulator on session startup. For that replace the content
1514
1515
of the `Toren1BD.posters` file located in `$ANDROID_HOME/emulator/resources` folder with the
1515
1516
following text:
1517
+
1516
1518
```
1517
1519
poster wall
1518
1520
size 2 2
@@ -1525,6 +1527,7 @@ size 1 1
1525
1527
position 0 0 -1.5
1526
1528
rotation 0 0 0
1527
1529
```
1530
+
1528
1531
Save the changed file and re(start) the emulator to pick up the changes.
1529
1532
You may also customize values for different image properties under `poster table` in the above
0 commit comments