formatting, added waitForElement method, updated README.md file