chore: Add more UiAutomator2 options by mykola-mokhnach · Pull Request #1545 · appium/java-client
Change list
Continuing to add UiAutomator2 options.
Types of changes
- No changes in production code.
- Bugfix (non-breaking change which fixes an issue)
- New feature (non-breaking change which adds functionality)
- Breaking change (fix or feature that would cause existing functionality to not work as expected)
| public interface SupportsIsHeadlessOption<T extends BaseOptions<T>> extends | ||
| Capabilities, CanSetCapability<T> { | ||
| String IS_HEADLESS_OPTION = "isHeadless"; | ||
|
|
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does it make sense to add a method:
default T headless() { return setIsHeadless(true); }
?
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added
| public interface SupportsGpsEnabledOption<T extends BaseOptions<T>> extends | ||
| Capabilities, CanSetCapability<T> { | ||
| String GPS_ENABLED_OPTION = "gpsEnabled"; | ||
|
|
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does it make sense to add a method:
default T gpsEnabled() { return setGpsEnabled(true); }
?
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters