appium/appium — pull request #2561 by bootstraponline (2014-05-13 16:16:48+00:00)
Title: Try toggle discard again

```
$ DEVICE=android mocha -t 60000 -R spec find-element-specs.js

apidemo - find elements -
mobile find
✓ should scroll to an element by text or content desc (1900ms)
✓ should find a single element by content-description (932ms)
✓ should find a single element by text (1060ms)
find element(s) methods
✓ should find a single element by content-description (4026ms)
✓ should find an element by class name (992ms)
✓ should find multiple elements by class name (1532ms)
✓ should not find an element that doesnt exist (5209ms)
✓ should not find multiple elements that doesnt exist (5161ms)
✓ should fail on empty locator (1400ms)
✓ should find a single element by id (5584ms)
✓ should find a single element by string id (1576ms)
✓ should find a single element by resource-id (1611ms)
✓ should find multiple elements by resource-id (2742ms)
✓ should find multiple elements by resource-id even when theres just one (926ms)
find element(s) from element
✓ should find a single element by tag name (1273ms)
✓ should find multiple elements by tag name (1511ms)
✓ should not find an element that doesnt exist (5798ms)
✓ should not find multiple elements that dont exist (6201ms)
xpath
✓ should find element by type (923ms)
✓ should find element by text (1035ms)
✓ should find element by partial text (381ms)
✓ should find the last element (1310ms)
✓ should find element by xpath index and child (803ms)
✓ should find element by index and embedded desc (5384ms)
find elements using accessibility id locator strategy
✓ should find an element by name (693ms)
✓ should return an array of one element if the plural "elements" is used (957ms)
find elements by -android uiautomator locator strategy
✓ should find elements with a boolean argument (5611ms)
✓ should find elements without prepending "new UiSelector()" (1851ms)
✓ should find elements without prepending "new UiSelector()." (278ms)
✓ should find elements without prepending "new " (1432ms)
✓ should find an element with an int argument (1243ms)
✓ should find an element with a string argument (403ms)
✓ should find an element with an overloaded method argument (1484ms)
✓ should find an element with a Class method argument (1470ms)
✓ should find an element with a long chain of methods (1430ms)
✓ should find an element with recursive UiSelectors (1454ms)
✓ should not find an element with bad syntax (5157ms)
✓ should not find an element with a made up method (5095ms)
✓ should not find an element which does not exist (5187ms)
invalid locator strategy
✓ should not accept -ios uiautomation locator strategy (80ms)

40 passing (2m)
```

/cc @paymand