From what I know, before calling wait_for_element_present(), you have to call "app.launch()". I don't know if there is any way to avoid the invocation of launch().  I have do some search and study....