mozilla/gaia-ui-tests — pull request #159 by ypwalter (2012-12-06 04:28:36+00:00)
Title: Add wait_for_element_enabled() and wait_for_element_not_enabled()

In certain situations, we should have wait_for_element_enabled() than wait_for_element_displayed(). When a element is displayed, it doesn't mean that the element is enabled or clickable.

One example of this is to set the wallpaper. When you try to set the wallpaper, it would switch to wallpaper selection and might delayed a little bit even if it is displayed. In this case, use wait_for_element_enabled() to avoid erroring out.