groupon-testium/testium — pull request #99 by jesstelford (2014-08-18 05:02:37+00:00)
Title: Add `.waitForElementExist(selector, timeout)` method

Waits for the element at `cssSelector` to exist (regardless of visibility), then returns the [Element](#element). Times out after `timeout` milliseconds.

```coffee
browser.click '.menu-button'
# wait up to 1 second
# for the menu to exist in the DOM
browser.waitForElementExist('.menu', 1000)
```