Skip to content

Instantly share code, notes, and snippets.

Locators

element(by.<...>)

  • id
  • js
  • css
  • className
  • name
@avel
avel / Cheatsheet.md
Last active August 29, 2015 14:04
Cheatsheet for front-end development

jQuery

  • each (index, Element) { this = Element }
  • toggleClass (className , [switch])

Ajax:

  • .done (data, textStatus, xhr)
  • .fail (xhr, textStatus, errorThrown)
  • .always ( either one of the above)