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

Abierto
#1,058 2 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
9.6k
Forks
1.5k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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"

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.