##### Table of Contents * [Resolving promises](#resolving-promises) * [Working with the Browser](#browser) * [Working with Locators](#working-with-locators) * [Working with Elements](#working-with-elements) * [Jasmine expect and matchers](#jasmine-expect-and-matchers) # Protractor Cheatsheet ### Resolving promises most of the commands/functions return promises, which can be resolved by using `expect()` or `then()`. ```Javascript //using return to resolve promises