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

Đang mở
#1,058 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
9.6k
Fork
1.5k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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"

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.