add element wait functions
add element wait feature tests
Merge pull request #32 from  gimler/element_wait