Uh oh!
There was an error while loading. Please reload this page.
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
TikhomirovSergey
commented
Sep 25, 2016
@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 |
TikhomirovSergey
commented
Sep 26, 2016
| 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
truebit
commented
Sep 27, 2016
all below settings are at same level like
|
TikhomirovSergey
commented
Sep 27, 2016
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