diff --git a/testui/support/appium_driver.py b/testui/support/appium_driver.py index 7a4098a..42461f6 100644 --- a/testui/support/appium_driver.py +++ b/testui/support/appium_driver.py @@ -269,7 +269,7 @@ def set_screenshot_path(self, screenshot_path: str): def set_save_screenshot_on_fail(self, save_screenshot_on_fail: bool): """Set save screenshot on fail""" - self.__configuration.save_full_stacktrace = save_screenshot_on_fail + self.__configuration.save_screenshot_on_fail = save_screenshot_on_fail return self def set_save_full_stacktrace(self, save_full_stacktrace: bool):