title: How to check if an element doesnt exist selenium nodejs
body: <p>I want to check if an element exists on the page(which shouldnt) and continue if it doesnt.</p>
  
  <pre><code>driver.wait(function() {   
          fieldBool = driver.isElementPresent(webdriver.By.id("someId"));
          return fieldBool;
  }, timeout).then(function(b) {
          assert.equal(false, b, "message");    
  });
  </code></pre>
  
  <p>I want fieldBool to be false, but the test stops(timeout or no such element exists).</p>