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
Copy file name to clipboardExpand all lines: docs/guides/troubleshooting.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ XCUITest driver offers a couple of approaches to handle them:
47
47
- It might be necessary to coordinate element selection via `acceptAlertButtonSelector`/`dismissAlertButtonSelector` settings in [Settings](../reference/settings.md)
48
48
- Activate `com.apple.springboard` with [`mobile: activateApp`](../reference/execute-methods.md#mobile-activateapp) before interacting with dialogs
49
49
50
-
[`mobile: activeAppInfo`](../reference/execute-methods.md#mobile-activateappinfo) helps to understand what application (bundleId) is considered as active for the XCUITest driver.
50
+
[`mobile: activeAppInfo`](../reference/execute-methods.md#mobile-activeappinfo) helps to understand what application (bundleId) is considered as active for the XCUITest driver.
51
51
52
52
## Interact with dialogs managed by `com.apple.ContactsUI.LimitedAccessPromptView`
Copy file name to clipboardExpand all lines: docs/reference/execute-methods.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -489,12 +489,12 @@ The returned object always includes at least the following entries:
489
489
490
490
-`level`: Battery level in range [0.0, 1.0], where 1.0 means 100% charge.
491
491
-`state`: Battery state as an integer number. The following values are possible:
492
-
* UIDeviceBatteryStateUnknown = 0
493
-
* UIDeviceBatteryStateUnplugged = 1 // on battery, discharging
494
-
* UIDeviceBatteryStateCharging = 2 // plugged in, less than 100%
495
-
* UIDeviceBatteryStateFull = 3 // plugged in, at 100%
492
+
* UIDeviceBatteryStateUnknown = 0
493
+
* UIDeviceBatteryStateUnplugged = 1 // on battery, discharging
494
+
* UIDeviceBatteryStateCharging = 2 // plugged in, less than 100%
495
+
* UIDeviceBatteryStateFull = 3 // plugged in, at 100%
496
496
497
-
On iOS 18 and newer real devices, the returned object may also include many additional advanced battery information fields, such as capacity, health metrics, temperature, and more. For a full list of possible advanced fields, see the [BatteryInfo](../../lib/commands/advanced-battery-types.ts).
497
+
On iOS 18 and newer real devices, the returned object may also include many additional advanced battery information fields, such as capacity, health metrics, temperature, and more. For a full list of possible advanced fields, see [`BatteryInfo`](https://github.com/appium/appium-xcuitest-driver/blob/master/lib/commands/advanced-battery-types.ts).
498
498
499
499
The returned object is a superset of the basic battery info, and may look like:
0 commit comments