title: Looking for an element to not be present
body: <p>I'm trying to look for an absence of an element in a conditional which would then take two different paths if the element is not there.  However what I am getting is 'element not found' which is what I need but I need to go around this. Here is what I've tried: </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>if (HomeScreen.tabs.propertiesTab.isPresent()) {
    HomeScreen.tabs.propertiesTab.click();
  } else {
    HomeScreen.tabs.allTabsTab.click().then(function() {
      HomeScreen.allTabs.properties.click();
    })
  }</code></pre>
  </div>
  </div>
  </p>
  
  <p>and</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>HomeScreen.tabs.propertiesTab.isPresent().toBeFalsy().then(function(isVisible) {
    if (isVisible) {
      HomeScreen.tabs.propertiesTab.click();
    } else {
      HomeScreen.tabs.allTabsTab.click().then(function() {
        HomeScreen.allTabs.properties.click();
      });
  
    }
  });</code></pre>
  </div>
  </div>
  </p>
  
  <p>Any suggestions?</p>