Skip to content

Commit 49cebab

Browse files
committed
Fix arguments inconsistency in start_activity method
1 parent 91c808c commit 49cebab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

AppiumLibrary/keywords/_android_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def start_activity(self, appPackage, appActivity, **opts):
100100
- _intentCategory_ - Intent category to start (optional).
101101
- _intentFlags_ - Flags to send to the intent (optional).
102102
- _optionalIntentArguments_ - Optional arguments to the intent (optional).
103-
- _stopAppOnReset_ - Should the app be stopped on reset (optional)?
103+
- _dontStopAppOnReset_ - Should the app be stopped on reset (optional)?
104104
105105
"""
106106

@@ -115,7 +115,7 @@ def start_activity(self, appPackage, appActivity, **opts):
115115
'intent_category': 'intentCategory',
116116
'intent_flags': 'intentFlags',
117117
'optional_intent_arguments': 'optionalIntentArguments',
118-
'stop_app_on_reset': 'stopAppOnReset'
118+
'dont_stop_app_on_reset': 'dontStopAppOnReset'
119119
}
120120

121121
data = {}

0 commit comments

Comments
 (0)