question: public void logout ( NativeAppDriver driver , String header , String logoutButton , String emailTextBox , boolean isAndroid ) throws InterruptedException { Thread . sleep ( 10000 ) ; driver . clickElementById ( header ) ; driver . clickElementById ( logoutButton ) ; driver . clearInputById ( emailTextBox ) ; if ( isAndroid ) { driver . hideKeyboard ( ) ; } }
target:  Logout from the app