Skip to content

Commit d480eba

Browse files
feat: Add Windows driver options (#732)
1 parent 2201e90 commit d480eba

37 files changed

+333
-36
lines changed

appium/options/common/app_option.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class AppOption(SupportsCapabilities):
2626
@property
2727
def app(self) -> Optional[str]:
2828
"""
29-
:Returns: String representing app location.
29+
String representing app location.
3030
"""
3131
return self.get_capability(APP)
3232

appium/options/common/auto_web_view_option.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class AutoWebViewOption(SupportsCapabilities):
2626
@property
2727
def auto_web_view(self) -> Optional[bool]:
2828
"""
29-
:Returns: Whether the driver should try to automatically switch
29+
Whether the driver should try to automatically switch
3030
to a web view context after the session is started.
3131
"""
3232
return self.get_capability(AUTO_WEB_VIEW)

appium/options/common/automation_name_option.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class AutomationNameOption(SupportsCapabilities):
2626
@property
2727
def automation_name(self) -> Optional[str]:
2828
"""
29-
:Returns: String representing the name of the automation engine name.
29+
String representing the name of the automation engine name.
3030
"""
3131
return self.get_capability(AUTOMATION_NAME)
3232

appium/options/common/clear_system_files_option.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class ClearSystemFilesOption(SupportsCapabilities):
2626
@property
2727
def clear_system_files(self) -> Optional[bool]:
2828
"""
29-
:Returns: Whether the driver should delete generated files at the end of a session.
29+
Whether the driver should delete generated files at the end of a session.
3030
"""
3131
return self.get_capability(CLEAR_SYSTEM_FILES)
3232

appium/options/common/device_name_option.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class DeviceNameOption(SupportsCapabilities):
2626
@property
2727
def device_name(self) -> Optional[str]:
2828
"""
29-
:Returns: The name of the device.
29+
The name of the device.
3030
"""
3131
return self.get_capability(DEVICE_NAME)
3232

appium/options/common/enable_performance_logging_option.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class EnablePerformanceLoggingOption(SupportsCapabilities):
2626
@property
2727
def enable_performance_logging(self) -> Optional[bool]:
2828
"""
29-
:Returns: Whether to enable additional performance logging.
29+
Whether to enable additional performance logging.
3030
"""
3131
return self.get_capability(ENABLE_PERFORMANCE_LOGGING)
3232

appium/options/common/event_timings_option.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class EventTimingsOption(SupportsCapabilities):
2626
@property
2727
def event_timings(self) -> Optional[bool]:
2828
"""
29-
:Returns: Whether the driver should to report the timings
29+
Whether the driver should to report the timings
3030
for various Appium-internal events.
3131
"""
3232
return self.get_capability(EVENT_TIMINGS)

appium/options/common/full_reset_option.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class FullResetOption(SupportsCapabilities):
2626
@property
2727
def full_reset(self) -> Optional[bool]:
2828
"""
29-
:Returns: Whether the driver should perform a full reset.
29+
Whether the driver should perform a full reset.
3030
"""
3131
return self.get_capability(FULL_RESET)
3232

appium/options/common/is_headless_option.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class IsHeadlessOption(SupportsCapabilities):
2626
@property
2727
def is_headless(self) -> Optional[bool]:
2828
"""
29-
:Returns: Whether the driver should start emulator/simulator in headless mode.
29+
Whether the driver should start emulator/simulator in headless mode.
3030
"""
3131
return self.get_capability(IS_HEADLESS)
3232

appium/options/common/language_option.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class LanguageOption(SupportsCapabilities):
2626
@property
2727
def language(self) -> Optional[str]:
2828
"""
29-
:Returns: Language abbreviation to use in a test session.
29+
Language abbreviation to use in a test session.
3030
"""
3131
return self.get_capability(LANGUAGE)
3232

0 commit comments

Comments
 (0)