(self, duration)
return self._session_http.post('/wda/deactivateApp',
                                       dict(duration=duration))
Put app into background and than put it back
        Args:
            - duration (float): deactivate time, seconds
Put app into background and than put it back
        Args:
            - duration (float): deactivate time, seconds
Put app into background and than put it back Args : - duration ( float ) : deactivate time seconds
def deactivate(self, duration):
        """Put app into background and than put it back
        Args:
            - duration (float): deactivate time, seconds
        """
        return self._session_http.post('/wda/deactivateApp',
                                       dict(duration=duration))
def deactivate ( self , duration ) : return self . _session_http . post ( '/wda/deactivateApp' , dict ( duration = duration ) )