appium/appium — pull request #2707 by jdeff (2014-05-29 21:09:13+00:00)
Title: Check accessibility identifier first for the id strategy

For the ID strategy, we want to handle the selector as an accessibility id first. If no element is found by that strategy, we fall back to searching for the string. This matches the current behavior of Android.

I added tests functional tests for this in TestApp's find-element-spec as well as updated the unit tests for the iOS controller.