Added some helper methods

In particular `waitForElementPresent` is very handy.