AirtestProject / AirtestProject/Airtest

When using "ios.alert_accept()" it's showing "wda.exceptions.WDAUnknownError: WDARequestError(status=110, value={'error': 'unknown error', 'message': '*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil'})" error for latest ios-target

Ouverte
#1,058 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
9.6k
Forks
1.5k
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

Remove any following parts if does not have details about

**Describe the bug**
When using "ios.alert_accept()" it's showing "wda.exceptions.WDAUnknownError: WDARequestError(status=110, value={'error': 'unknown error', 'message': '*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil'})" error for latest ios-target

A clear and concise description of what the bug is. Or paste traceback below.

170880116-72deab45-b1e7-4988-b772-8167886ff984

**To Reproduce**
Steps to reproduce the behavior:
1. create an object for class ios in script like:
ios = IOS("http://127.0.0.1:8100")
2. call the function "ios.alert_accept()" to the script
3. Run the script

**Expected behavior**
Must accept the alert pop-up shown on the iOS device

**python version:** `python3`

**airtest version:** `1.2.14`

**Smartphone (please complete the following information):**
- Device: iPad 6th Gen
- OS: iOS v 14.7.1
- ios-Target latest release version on 28th April
- Xcode v13.4
- MacOS 12.4

**Additional context**
The same script with "ios.alert_accept()" works when I use the "Appium WebDriverAgent"

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.