title: Robotframework android screen detection after pop-up
body: <p>After closing a pop-up window, my code somehow does not recognize changed screen.<br>
  <strong><em>Short description:</em></strong> I press button, pop-up shows up that my "Camera is offline", I press OK, and then I am waiting until page has "Add new camera" written on here. In my screen it shows up, when I try to debug it also shows that this keyword is in page, but my test fails.</p>
  
  <p>I tried to change elements which to wait till it shows.<br>
  I tried to use sleep function.<br>
  I have another places that the code does not work - when I close pop-up window, my code does not recognize new page.  </p>
  
  <pre><code>Click Element    com.yummiapps.eldes:id/a_add_camera_b_add    #add button to get a pop-up window
  Wait Until Page Contains    Camera is offline and cannot be added  #waiting till pop-up shows
  Click Element    com.yummiapps.eldes:id/d_e_b_ok  #clicking on button from pop-uo
  Wait Until Page Contains    Add new camera   #afte closing pop-up this segment always fails
  </code></pre>
  
  <p>Last code line should recognize that page is refreshed and it contains string "Add new camera"</p>
  
  <p><a href="https://i.stack.imgur.com/4hlbq.png" rel="nofollow noreferrer">pop-up window</a>
  <a href="https://i.stack.imgur.com/2TaEm.png" rel="nofollow noreferrer">after closing pop-up</a></p>