admc / wd

A node.js client for webdriver/selenium 2.
Other
1.53k stars 402 forks source link

How to interact with iOS alerts and action sheets? #491

Open joonhocho opened 7 years ago

joonhocho commented 7 years ago

I am using wd with React Native and having a hard time trying to interact with alerts and action sheets.

For example, when user tries to upload contacts, it will alert user for permissions. Also, I display custom alerts with custom buttons as well as action sheets in many places.

joonhocho commented 7 years ago

I found acceptAlert and dismissAlert works for simple alerts, but there are alerts with three or more buttons.