ResetAllSimulators icon indicating copy to clipboard operation
ResetAllSimulators copied to clipboard

System Events got an error: Can’t get button "Reset" of window 1 of process "iPhone Simulator".

Open mpatzer opened this issue 10 years ago • 1 comments

Every other time I run the script, I receive this error message.

mpatzer avatar Aug 21 '14 19:08 mpatzer

Sometimes a small delay after a UI interaction helps with these kinds of hiccups. You are selecting a menu item first. You may need to give it time to generate the Reset button you want to click. I suggest inserting a delay 0.8 line right before tell window 1.

ghost avatar Apr 06 '15 00:04 ghost