Skip to content

Instantly share code, notes, and snippets.

@khushboothakkar
Last active June 27, 2018 06:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save khushboothakkar/adbe4b4739e0a2e1253523d14a8f662f to your computer and use it in GitHub Desktop.
Save khushboothakkar/adbe4b4739e0a2e1253523d14a8f662f to your computer and use it in GitHub Desktop.
describe('Testcase7',() => {
it('Iterate for each element',() => {
cy.get('.fb-page-wrapper').find('.fb-page-followers').each(function(followers) {
var fbFollowers=followers.text()
cy.log("Followers:", fbFollowers)
}
})
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment