title: Is there a way to test Chrome Custom Tabs with Espresso?
body: <p>Here is the stub of the code.</p>
  
  <p>Click data item on <code>ListView</code> .  Works as designed and opens <em>Chrome Custom Tab</em> :</p>
  
  <pre><code>onData(anything()).inAdapterView(withId(R.id.listView))
                                         .atPosition(0).perform(click());
  
  Pause(5000);
  Espresso.pressBack();
  </code></pre>
  
  <p>Cannot seem to evaluate anything in the tab or even hit device back button. 
  Getting this error</p>
  
  <pre><code>Error : android.support.test.espresso.NoActivityResumedException: No 
  activities  in stage RESUMED.
  </code></pre>
  
  <p>Did you forget to launch the activity. (<code>test.getActivity()</code>  or similar)? </p>