       assert.throws ->
         element.elementIsVisible(->)
 
-    it 'succeeds if all conditions are met', ->
-      element.elementIsVisible('.box')
+    it 'returns the element if all conditions are met', ->
+      assert.truthy element.elementIsVisible('.box')
 
   describe '#elementNotVisible', ->
     driver =

        assert.throws ->
          element.elementHasText(selector, undefined)

      it 'suceeds if all conditions are met', ->
        element.elementHasText(selector, text)

    describe 'Value', ->
      it 'fails if selector is undefined', ->

      assert.throws ->
        element.elementExists(->)

    it 'returns the element if all conditions are met', ->
      assert.truthy element.elementExists('.box')

  describe '#elementDoesntExist', ->
    driver =
      getElement: -> null
    element = Element(driver)
