Android setting engine#477
Android setting engine#477TikhomirovSergey merged 5 commits intoappium:masterappium/java-client:masterfrom TikhomirovSergey:masterCopy head branch name to clipboard
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 |
SrinivasanTarget
left a comment
There was a problem hiding this comment.
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.
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.AppiumSettingbecame 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.HasSettingswas 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
xin the boxes that applyWindows Mobile automation support. #471