Skip to content

Instantly share code, notes, and snippets.

@zuhrig
Created August 17, 2016 19:14
Show Gist options
  • Save zuhrig/1871a152e3c8856a4339e7ca2e6ef680 to your computer and use it in GitHub Desktop.
Save zuhrig/1871a152e3c8856a4339e7ca2e6ef680 to your computer and use it in GitHub Desktop.
// encontrar un elemento usando selectores css
by.css('.myclass')
// encontrar un elemento dado un id
by.id('myid')
// encontrar un elemento mediante la directiva de angular ng-model
by.model('name')
// encontrar un elemento atado a una variable
by.binding('bindingname')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment