       error = assert.throws =>
         @browser.assert.elementLacksValue('#text-input', 'initialvalue')
 
-      expected = 'Assertion failed: elementLacksValue: #text-input\n\u001b[39;49;00mnotInclude expected needle not to be found in haystack\n- needle: \"initialvalue\"\nhaystack: \"initialvalue\"'
-      assert.equal expected, error.message
+      expected = 'Assertion failed: elementLacksValue: #text-input\nnotInclude expected needle not to be found in haystack\n- needle: \"initialvalue\"\nhaystack: \"initialvalue\"'
+      assert.equal expected, stripColors error.message
 
   describe 'waitForElementExist', ->
     before ->

  describe 'elementNotVisible', ->
    it 'fails if element does not exist', ->
      error = assert.throws => @browser.assert.elementNotVisible '.non-existing'
      expectedError = 'Assertion failed: Element not found for selector: .non-existing\n\u001b[39;49;00mExpected \u001b[31mnull\u001b[39m to be truthy'
      assert.equal expectedError, error.message

    it 'fails if element exists, but is visible', ->
      error = assert.throws => @browser.assert.elementNotVisible 'h1'
      expectedError = 'Assertion failed: Element should not be visible for selector: h1\n\u001b[39;49;00mExpected \u001b[31mtrue\u001b[39m to be falsey'
      assert.equal expectedError, error.message

    it 'succeeds if element exists and is not visible', ->
      @browser.assert.elementNotVisible '#hidden_thing'

      error = assert.throws =>
        @browser.assert.elementHasText('.only', 'the wrong text')

      expected = 'Assertion failed: elementHasText: .only\ninclude expected needle to be found in haystack\n- needle: \"the wrong text\"\nhaystack: \"only one here\"'
      assert.equal expected, stripColors error.message

    it 'finds no elements', ->
      error = assert.throws =>
