Skip to content

Instantly share code, notes, and snippets.

@muditlambda
Created March 12, 2020 14:39

Revisions

  1. muditlambda created this gist Mar 12, 2020.
    4 changes: 4 additions & 0 deletions exact-binding.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    // /* The locator finds the element with the bind attribute and returns the value */ //

    // making use of our locator in our test script //
    expect(element(by.exactBinding('developer.name')).isPresent()).toBe(true);