diff --git a/appium/webdriver/appium_service.py b/appium/webdriver/appium_service.py index d28383ab..419fbc43 100644 --- a/appium/webdriver/appium_service.py +++ b/appium/webdriver/appium_service.py @@ -222,7 +222,7 @@ def start(self, **kwargs: Any) -> sp.Popen: raise AppiumServiceError(error_msg) return self._process - def stop(self, timeout: int = 5) -> bool: + def stop(self, timeout: float = 5) -> bool: """Stops Appium service if it is running. The call will be ignored if the service is not running