Sha256: 4dfb1644d3c14c96b4b56873cad3029de57c08a0355c2553748e663f6c876add
Contents?: true
Size: 748 Bytes
Versions: 3
Compression:
Stored size: 748 Bytes
Contents
package com.amplify.honeydew_server.actions; import com.amplify.honeydew_server.Action; import com.amplify.honeydew_server.Result; import com.android.uiautomator.core.UiDevice; import com.android.uiautomator.core.UiObject; import com.android.uiautomator.core.UiObjectNotFoundException; import java.util.Map; public class Click extends Action { public Click(UiDevice uiDevice) { super(uiDevice); } @Override public Result execute(Map<String, Object> arguments) throws UiObjectNotFoundException { final UiObject uiObject = getUiObject(arguments); if (isUiObjectAvailable(uiObject, arguments)) { uiObject.click(); return Result.OK; } return Result.FAILURE; } }
Version data entries
3 entries across 3 versions & 1 rubygems