From d83c5b2270c98cefa5ed34a7f71f76172efeb65f Mon Sep 17 00:00:00 2001 From: Dor-bl <59066376+Dor-bl@users.noreply.github.com> Date: Mon, 20 Jul 2026 14:01:55 +0000 Subject: [PATCH] refactor(applications): extract installApp script name into variable Align install_app with the other Applications methods, which already pass the script name through a local ext_name variable. No behavior change. --- appium/webdriver/extensions/applications.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/appium/webdriver/extensions/applications.py b/appium/webdriver/extensions/applications.py index a6782bfa..e96b88b0 100644 --- a/appium/webdriver/extensions/applications.py +++ b/appium/webdriver/extensions/applications.py @@ -74,8 +74,9 @@ def install_app(self, app_path: str, **options: Any) -> Self: Returns: Union['WebDriver', 'Applications']: Self instance """ + ext_name = 'mobile: installApp' self.execute_script( - 'mobile: installApp', + ext_name, { 'app': app_path, 'appPath': app_path,