-
-
Notifications
You must be signed in to change notification settings - Fork 764
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android setting engine #477
Conversation
- AppiumSetting became deprected. It was moved to io.appium.java_client.android.settings.Setting - the new interface io.appium.java_client.android.HasSettings was added - set/getSettings methods were moved to AndroidDriver - AndroidDriver#ignoreUnimportantViews became deprecated
@SrinivasanTarget @truebit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the changes 👍 LGTM
the settings api has been changed to top level as requested by @jlipps in appium/appium-android-driver#153 So these settings api requests should be the same like |
public enum Setting { | ||
|
||
IGNORE_UNIMPORTANT_VIEWS("ignoreUnimportantViews"), | ||
CONFIGURATOR("configurator"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no, this code is still the two level configurator. Now it should be like ignoreUnimportantViews
. Every setting here for configurators should be individivual
all below settings are at same level like
|
Ok. Will iptrove this a bit later. |
Change list
io.appium.java_client.AppiumSetting
became deprecated. It was moved toio.appium.java_client.android.Setting
.io.appium.java_client.AppiumDriver#getSettings()
was completely moved toio.appium.java_client.android.AndroidDriver
.io.appium.java_client.android.HasSettings
was added. It has default implementation. And this interface is implemented by AndroidDriver.Methods:
void setSetting(Setting setting, Object value)
JsonObject getSettings()
void ignoreUnimportantViews(Boolean compress)
void configuratorSetWaitForIdleTimeout(int timeout)
void configuratorSetWaitForSelectorTimeout(int timeout)
void configuratorSetScrollAcknowledgmentTimeout(int timeout)
void configuratorSetKeyInjectionDelay(int delay)
void configuratorSetActionAcknowledgmentTimeout(int timeout)
This change was proposed at add support to set UiAutomator Congfigurator values #410 by @truebit
Types of changes
What types of changes are you proposing/introducing to Java client?
Put an
x
in the boxes that applyWindows Mobile automation support. #471