Skip navigation links
A B C D E F G H I J K L M P Q R S T U V W 

A

ACCEPT_ALERT - Static variable in class macaca.client.common.DriverCommand
 
acceptAlert() - Method in class macaca.client.commands.Alert
 
acceptAlert() - Method in class macaca.client.MacacaClient
Accepts the currently displayed alert dialog.
Support: Android iOS
ACTIONS - Static variable in class macaca.client.common.DriverCommand
 
Alert - Class in macaca.client.commands
 
Alert(MacacaDriver) - Constructor for class macaca.client.commands.Alert
 
ALERT_TEXT - Static variable in class macaca.client.common.DriverCommand
 
alertKeys(JSONObject) - Method in class macaca.client.commands.Alert
 
alertKeys(String) - Method in class macaca.client.MacacaClient
Sends keystrokes to a JavaScript prompt() dialog.
Support: iOS
alertText() - Method in class macaca.client.commands.Alert
 
alertText() - Method in class macaca.client.MacacaClient
Gets the text of the currently displayed JavaScript alert(), confirm(), or prompt() dialog.
Support: iOS
allCookies() - Method in class macaca.client.commands.Cookie
get all cookies
allCookies() - Method in class macaca.client.MacacaClient
Returns all cookies associated with the address of the current browsing context’s active document.

B

back() - Method in class macaca.client.commands.Element
 
back(JSONObject) - Method in class macaca.client.commands.Url
 
BACK - Static variable in class macaca.client.common.DriverCommand
 
back() - Method in class macaca.client.MacacaClient
press back.
Support: Android Web(WebView)

C

charAt(int) - Method in enum macaca.client.common.Keycode
 
clear() - Method in class macaca.client.MacacaClient
Deprecated.
CLEAR_ELEMENT - Static variable in class macaca.client.common.DriverCommand
 
clearText() - Method in class macaca.client.commands.Element
 
click() - Method in class macaca.client.commands.Element
click this element Support: Android iOS Web(WebView)
CLICK - Static variable in class macaca.client.common.DriverCommand
 
click() - Method in class macaca.client.MacacaClient
Deprecated.
CLICK_ELEMENT - Static variable in class macaca.client.common.DriverCommand
 
Constants - Class in macaca.client.common
 
Constants() - Constructor for class macaca.client.common.Constants
 
Context - Class in macaca.client.commands
 
Context(MacacaDriver) - Constructor for class macaca.client.commands.Context
 
CONTEXT - Static variable in class macaca.client.common.DriverCommand
 
context(String) - Method in class macaca.client.MacacaClient
Set the current context.
Support: Android iOS
CONTEXTS - Static variable in class macaca.client.common.DriverCommand
 
contexts - Variable in class macaca.client.MacacaClient
 
contexts() - Method in class macaca.client.MacacaClient
Get a list of the available contexts.
Support: Android iOS
Cookie - Class in macaca.client.commands
 
Cookie(MacacaDriver) - Constructor for class macaca.client.commands.Cookie
 
COOKIE - Static variable in class macaca.client.common.DriverCommand
 
countOfChildElements(GetElementWay, String) - Method in class macaca.client.commands.Element
Deprecated.
countOfElements(GetElementWay, String) - Method in class macaca.client.MacacaClient
get count of elements when there exist multiple elements
Support: Android iOS Web(WebView)
CREATE_SESSION - Static variable in class macaca.client.common.DriverCommand
 
createSession(JSONObject) - Method in class macaca.client.commands.Session
 
currentContext() - Method in class macaca.client.MacacaClient
Get the current context.
Support: Android iOS

D

deleteAllCookies() - Method in class macaca.client.commands.Cookie
delete all cookies
deleteAllCookies() - Method in class macaca.client.MacacaClient
Allows deletion of all cookies associated with the active document’s address.
deleteCookie(String) - Method in class macaca.client.commands.Cookie
delete specific cookie
deleteCookie(String) - Method in class macaca.client.MacacaClient
Delete either a single cookie by parameter name, or all the cookies associated with the active document’s address if name is undefined.
deleteRequest(String, JSONObject) - Method in class macaca.client.common.Utils
 
deleteWindow() - Method in class macaca.client.commands.Window
 
delSession() - Method in class macaca.client.commands.Session
 
DISMISS_ALERT - Static variable in class macaca.client.common.DriverCommand
 
dismissAlert() - Method in class macaca.client.commands.Alert
 
dismissAlert() - Method in class macaca.client.MacacaClient
Dismisses the currently displayed alert dialog.
Support: Android iOS
doubleTap(double, double) - Method in class macaca.client.MacacaClient
double tap by coordinate Support: Android iOS
drag(double, double, double, double, double) - Method in class macaca.client.MacacaClient
drag Support: Android iOS
DriverCommand - Class in macaca.client.common
 
DriverCommand() - Constructor for class macaca.client.common.DriverCommand
 

E

Element - Class in macaca.client.commands
 
Element(String, MacacaDriver) - Constructor for class macaca.client.commands.Element
 
element - Variable in class macaca.client.MacacaClient
 
element(String, String) - Method in class macaca.client.MacacaClient
Search for an element on the page, starting from the document root.
Support: Android iOS Web(WebView)
ELEMENT_VALUE - Static variable in class macaca.client.common.DriverCommand
 
elementByClassName() - Method in class macaca.client.MacacaClient
Search for an element on the page, starting from the document root.
Support: Android iOS Web(WebView)
elementByClassName(String) - Method in class macaca.client.MacacaClient
Search for an element on the page, starting from the document root.
Support: Android iOS Web(WebView)
elementByCss(String) - Method in class macaca.client.MacacaClient
Search for an element on the page, starting from the document root.
Support: Web(WebView)
elementById(String) - Method in class macaca.client.MacacaClient
Search for an element on the page, starting from the document root.
Support: Android iOS Web(WebView)
elementByLinkText(String) - Method in class macaca.client.MacacaClient
Search for an element on the page, starting from the document root.
Support: Android iOS Web(WebView)
elementByName(String) - Method in class macaca.client.MacacaClient
Search for an element on the page, starting from the document root.
Support: Android iOS Web(WebView)
elementByPartialLinkText(String) - Method in class macaca.client.MacacaClient
Search for an element on the page, starting from the document root.
Support: Android iOS Web(WebView)
elementByTagName(String) - Method in class macaca.client.MacacaClient
Search for an element on the page, starting from the document root.
Support: Android iOS Web(WebView)
elementByXPath(String) - Method in class macaca.client.MacacaClient
Search for an element on the page, starting from the document root.
Support: Android iOS Web(WebView)
elementsByClassName(String) - Method in class macaca.client.MacacaClient
Search for multiple elements on the page, starting from the document root.
Support: Android iOS Web(WebView)
elementsByCss(String) - Method in class macaca.client.MacacaClient
Search for multiple elements on the page, starting from the document root.
Support: Web(WebView)
elementsById(String) - Method in class macaca.client.MacacaClient
Search for multiple elements on the page, starting from the document root.
Support: Android iOS Web(WebView)
elementsByLinkText(String) - Method in class macaca.client.MacacaClient
Search for multiple elements on the page, starting from the document root.
Support: Android iOS Web(WebView)
elementsByName(String) - Method in class macaca.client.MacacaClient
Search for multiple elements on the page, starting from the document root.
Support: Android iOS Web(WebView)
elementsByPartialLinkText(String) - Method in class macaca.client.MacacaClient
Search for multiple elements on the page, starting from the document root.
Support: Android iOS Web(WebView)
elementsByTagName(String) - Method in class macaca.client.MacacaClient
Search for multiple elements on the page, starting from the document root.
Support: Android iOS Web(WebView)
elementsByXPath(String) - Method in class macaca.client.MacacaClient
Search for multiple elements on the page, starting from the document root.
Support: Android iOS Web(WebView)
Execute - Class in macaca.client.commands
 
Execute(MacacaDriver) - Constructor for class macaca.client.commands.Execute
 
execute(JSONObject) - Method in class macaca.client.commands.Execute
 
execute(String) - Method in class macaca.client.MacacaClient
Inject a snippet of JavaScript into the page for execution in the context of the currently selected frame.
Support: Web(WebView)
EXECUTE_SCRIPT - Static variable in class macaca.client.common.DriverCommand
 

F

FIND_CHILD_ELEMENT - Static variable in class macaca.client.common.DriverCommand
 
FIND_CHILD_ELEMENTS - Static variable in class macaca.client.common.DriverCommand
 
FIND_ELEMENT - Static variable in class macaca.client.common.DriverCommand
 
FIND_ELEMENTS - Static variable in class macaca.client.common.DriverCommand
 
findByStatus(int) - Static method in enum macaca.client.model.JsonWireStatus
 
findChildElements(GetElementWay, String) - Method in class macaca.client.commands.Element
Deprecated.
forward() - Method in class macaca.client.commands.Url
 
FORWARD - Static variable in class macaca.client.common.DriverCommand
 
forward() - Method in class macaca.client.MacacaClient
Navigate forwards in the browser history, if possible.
FRAME - Static variable in class macaca.client.common.DriverCommand
 
frame(String) - Method in class macaca.client.MacacaClient
 

G

get(String) - Method in class macaca.client.MacacaClient
Navigate to a new URL.
Support: Web(WebView)
GET_ELEMENT_ATTRIBUTE - Static variable in class macaca.client.common.DriverCommand
 
GET_ELEMENT_PROPERTY - Static variable in class macaca.client.common.DriverCommand
 
GET_ELEMENT_RECT - Static variable in class macaca.client.common.DriverCommand
 
GET_ELEMENT_TEXT - Static variable in class macaca.client.common.DriverCommand
 
GET_ELEMENT_VALUE_OF_CSS_PROPERTY - Static variable in class macaca.client.common.DriverCommand
 
GET_SESSIONS - Static variable in class macaca.client.common.DriverCommand
 
GET_SOURCE - Static variable in class macaca.client.common.DriverCommand
 
GET_TITLE - Static variable in class macaca.client.common.DriverCommand
 
getCapabilities() - Method in class macaca.client.common.MacacaDriver
 
getCenterX() - Method in class macaca.client.commands.Element
get CenterX coordinate for this element
getCenterY() - Method in class macaca.client.commands.Element
get CenterY coordinate for this element
getComputedCss(String) - Method in class macaca.client.commands.Element
 
getContext() - Method in class macaca.client.commands.Context
 
getContext() - Method in class macaca.client.common.MacacaDriver
 
getContexts() - Method in class macaca.client.commands.Context
 
getElement(GetElementWay, String, int) - Method in class macaca.client.MacacaClient
Search for an element on the page, starting from the document root.
Support: Android iOS Web(WebView)
getElement(GetElementWay, String) - Method in class macaca.client.MacacaClient
Search for an element on the page, starting from the document root.
Support: Android iOS Web(WebView)
getElementId() - Method in class macaca.client.commands.Element
 
GetElementWay - Enum in macaca.client.common
 
getHeight() - Method in class macaca.client.commands.Element
get height for this element
getHost() - Method in class macaca.client.common.MacacaDriver
 
getKeyFromUnicode(char) - Static method in enum macaca.client.common.Keycode
 
getOriginX() - Method in class macaca.client.commands.Element
get X coordinate for this element
getOriginY() - Method in class macaca.client.commands.Element
get Y coordinater for this element
getPort() - Method in class macaca.client.common.MacacaDriver
 
getProperty(String) - Method in class macaca.client.commands.Element
Get the result of a property of a element.
Support: Android iOS Web(WebView).
getProperty(String) - Method in class macaca.client.MacacaClient
Deprecated.
getRect() - Method in class macaca.client.commands.Element
 
getRect() - Method in class macaca.client.MacacaClient
Deprecated.
getSessionId() - Method in class macaca.client.common.MacacaDriver
 
getSource() - Method in class macaca.client.commands.Source
 
getStatus() - Method in class macaca.client.commands.Status
 
getStatus(String) - Method in class macaca.client.common.Utils
 
getText() - Method in class macaca.client.commands.Element
 
getUrl(JSONObject) - Method in class macaca.client.commands.Url
 
getUsing() - Method in enum macaca.client.common.GetElementWay
 
getWaitElementTimeInterval() - Method in class macaca.client.MacacaClient
 
getWaitElementTimeout() - Method in class macaca.client.MacacaClient
 
getWidth() - Method in class macaca.client.commands.Element
get width for this element
getWindow() - Method in class macaca.client.commands.Window
 
getWindowHandle() - Method in class macaca.client.common.MacacaDriver
 
getWindows() - Method in class macaca.client.commands.Window
 
getWindowSize() - Method in class macaca.client.commands.Window
 
getWindowSize() - Method in class macaca.client.MacacaClient
Get the size of the specified window.
Support: Android iOS Web(WebView)

H

hasChildElement(GetElementWay, String) - Method in class macaca.client.commands.Element
Deprecated.

I

IMPLICITLY_WAIT - Static variable in class macaca.client.common.DriverCommand
 
initDriver(JSONObject) - Method in class macaca.client.MacacaClient
Initial webdriver client and create a session.
Support: Android iOS Web(WebView)
IS_ELEMENT_DISPLAYED - Static variable in class macaca.client.common.DriverCommand
 
isDisplayed() - Method in class macaca.client.commands.Element
Deprecated.
isElementExist(String, String) - Method in class macaca.client.MacacaClient
check if target element exist
Support: Android iOS Web(WebView)
isElementExist(GetElementWay, String, int) - Method in class macaca.client.MacacaClient
check if target element exist
Support: Android iOS Web(WebView)
isElementExist(GetElementWay, String) - Method in class macaca.client.MacacaClient
check if target element exist
Support: Android iOS Web(WebView)

J

JsonWireStatus - Enum in macaca.client.model
 

K

Keycode - Enum in macaca.client.common
 
Keys - Class in macaca.client.commands
 
Keys(MacacaDriver) - Constructor for class macaca.client.commands.Keys
 
keys(JSONObject) - Method in class macaca.client.commands.Keys
 
KEYS - Static variable in class macaca.client.common.DriverCommand
 
keys(String) - Method in class macaca.client.MacacaClient
Send a sequence of key strokes to the active window.
Support: Android iOS Web(Webview)

L

length() - Method in enum macaca.client.common.Keycode
 

M

macaca.client - package macaca.client
 
macaca.client.commands - package macaca.client.commands
 
macaca.client.common - package macaca.client.common
 
macaca.client.model - package macaca.client.model
 
MacacaClient - Class in macaca.client
 
MacacaClient() - Constructor for class macaca.client.MacacaClient
 
MacacaClient.GesturePinchType - Enum in macaca.client
 
MacacaDriver - Class in macaca.client.common
 
MacacaDriver() - Constructor for class macaca.client.common.MacacaDriver
 
maximize() - Method in class macaca.client.commands.Window
 
maximize() - Method in class macaca.client.MacacaClient
set maximize size of the window.
Support: Web(WebView)
MAXIMIZE_WINDOW - Static variable in class macaca.client.common.DriverCommand
 
message() - Method in enum macaca.client.model.JsonWireStatus
 

P

pinch(double, double, double, double, MacacaClient.GesturePinchType, double, int) - Method in class macaca.client.MacacaClient
pinch Support: Android iOS
press(double, double, double) - Method in class macaca.client.MacacaClient
long press Support: Android iOS

Q

quit() - Method in class macaca.client.MacacaClient
Delete session.
Support: Android iOS Web(WebView)

R

refresh(JSONObject) - Method in class macaca.client.commands.Url
 
REFRESH - Static variable in class macaca.client.common.DriverCommand
 
request(String, String, JSONObject) - Method in class macaca.client.common.Utils
 
rotate(double, double) - Method in class macaca.client.MacacaClient
rotate Support: iOS

S

saveScreenshot(String) - Method in class macaca.client.commands.ScreenShot
 
saveScreenshot(String) - Method in class macaca.client.MacacaClient
Save screenshot of the current page.
Support: Android iOS Web(WebView)
ScreenShot - Class in macaca.client.commands
 
ScreenShot(MacacaDriver) - Constructor for class macaca.client.commands.ScreenShot
 
SCREENSHOT - Static variable in class macaca.client.common.DriverCommand
 
sendKeys(String) - Method in class macaca.client.commands.Element
Send a sequence of key strokes to the active element.
Support: Android iOS Web(WebView)
sendKeys(String) - Method in class macaca.client.MacacaClient
Deprecated.
Session - Class in macaca.client.commands
 
Session(MacacaDriver) - Constructor for class macaca.client.commands.Session
 
SESSION - Static variable in class macaca.client.common.DriverCommand
 
sessionAvailable() - Method in class macaca.client.commands.Session
 
sessionId() - Method in class macaca.client.MacacaClient
Get the current sessionId.
Support: Android iOS Web(WebView)
SET_WINDOW_SIZE - Static variable in class macaca.client.common.DriverCommand
 
setCapabilities(JSONObject) - Method in class macaca.client.common.MacacaDriver
 
setContext(JSONObject) - Method in class macaca.client.commands.Context
 
setContext(String) - Method in class macaca.client.common.MacacaDriver
 
setCookie(JSONObject) - Method in class macaca.client.commands.Cookie
 
setCookie(JSONObject) - Method in class macaca.client.MacacaClient
Adds a single cookie to the cookie store associated with the active document’s address.
setElementId(Object) - Method in class macaca.client.commands.Element
 
setExceptionCallback(Callback<Exception, Boolean>) - Static method in class macaca.client.common.Utils
 
setFrame(JSONObject) - Method in class macaca.client.commands.Window
 
setRemote(String, int) - Method in class macaca.client.common.MacacaDriver
 
setRemoteHost(String) - Method in class macaca.client.common.MacacaDriver
 
setRemotePort(int) - Method in class macaca.client.common.MacacaDriver
 
setSessionId(String) - Method in class macaca.client.common.MacacaDriver
 
setValue(JSONObject) - Method in class macaca.client.commands.Element
 
setWaitElementTimeInterval(int) - Method in class macaca.client.MacacaClient
 
setWaitElementTimeout(int) - Method in class macaca.client.MacacaClient
 
setWindow(JSONObject) - Method in class macaca.client.commands.Window
 
setWindowHandle(String) - Method in class macaca.client.common.MacacaDriver
 
setWindowSize(JSONObject) - Method in class macaca.client.commands.Window
 
setWindowSize(int, int) - Method in class macaca.client.MacacaClient
Change the size of the specified window.
Support: Web(WebView)
sleep(int) - Method in class macaca.client.MacacaClient
Set the amount of time the driver should wait.
Support: Android iOS Web(WebView)
Source - Class in macaca.client.commands
 
Source(MacacaDriver) - Constructor for class macaca.client.commands.Source
 
source() - Method in class macaca.client.MacacaClient
Get the current page source.
Support: Android iOS Web(WebView)
Status - Class in macaca.client.commands
 
Status(MacacaDriver) - Constructor for class macaca.client.commands.Status
 
STATUS - Static variable in class macaca.client.common.DriverCommand
 
status() - Method in class macaca.client.MacacaClient
Query the server's current status.
Support: Android iOS Web(WebView)
subSequence(int, int) - Method in enum macaca.client.common.Keycode
 
SUFFIX - Static variable in class macaca.client.common.Constants
 

T

takeScreenshot() - Method in class macaca.client.commands.ScreenShot
 
takeScreenshot() - Method in class macaca.client.MacacaClient
Take a screenshot of the current page.
Support: Android iOS Web(WebView)
tap(double, double) - Method in class macaca.client.MacacaClient
tap by coordinate Support: Android iOS
text() - Method in class macaca.client.MacacaClient
Deprecated.
Title - Class in macaca.client.commands
 
Title(MacacaDriver) - Constructor for class macaca.client.commands.Title
 
title() - Method in class macaca.client.commands.Title
 
title() - Method in class macaca.client.MacacaClient
Get the current page title.
Support: Web(WebView)
toString() - Method in enum macaca.client.common.Keycode
 
touch(String, JSONObject) - Method in class macaca.client.commands.Element
 
touch(String, JSONObject) - Method in class macaca.client.MacacaClient
Apply touch actions on devices.

U

Url - Class in macaca.client.commands
 
Url(MacacaDriver) - Constructor for class macaca.client.commands.Url
 
url() - Method in class macaca.client.commands.Url
 
URL - Static variable in class macaca.client.common.DriverCommand
 
url() - Method in class macaca.client.MacacaClient
Retrieve the URL of the current page.
Support: Web(WebView)
Utils - Class in macaca.client.common
 
Utils(MacacaDriver) - Constructor for class macaca.client.common.Utils
 

V

valueOf(String) - Static method in enum macaca.client.common.GetElementWay
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum macaca.client.common.Keycode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum macaca.client.MacacaClient.GesturePinchType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum macaca.client.model.JsonWireStatus
Returns the enum constant of this type with the specified name.
values() - Static method in enum macaca.client.common.GetElementWay
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum macaca.client.common.Keycode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum macaca.client.MacacaClient.GesturePinchType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum macaca.client.model.JsonWireStatus
Returns an array containing the constants of this enum type, in the order they are declared.

W

waitElementTimeInterval - Variable in class macaca.client.MacacaClient
time interval between finding an element ,valid for waitForElement() function paired with waitElementTimeout, if waitElementTimeout = 1000 & waitElementTimeInterval = 200,it means we will find given element per 200ms,until 1000ms passed, which means we will find for 5 times
waitElementTimeout - Variable in class macaca.client.MacacaClient
timeout for finding an element ,valid for waitForElement() function paired with waitElementTimeInterval, if waitElementTimeout = 1000 & waitElementTimeInterval = 200,it means we will find given element per 200ms,until 1000ms passed, which means we will find for 5 times
waitForElement(GetElementWay, String, int) - Method in class macaca.client.MacacaClient
find target element,if it doesn't exist,keep finding during given time (property:waitElementTimeout)
Support: Android iOS Web(WebView)
waitForElement(GetElementWay, String) - Method in class macaca.client.MacacaClient
find target element,if it doesn't exist,keep finding during given time (property:waitElementTimeout)
Support: Android iOS Web(WebView)
waitForElement(String, String, int, int) - Method in class macaca.client.MacacaClient
Search for element at specific interval during given time
Support: Android iOS Web(WebView)
waitForElement(String, String) - Method in class macaca.client.MacacaClient
Search for element at specific interval during given time
Support: Android iOS Web(WebView)
waitForElementByCss(String) - Method in class macaca.client.MacacaClient
Search for an element on the page, starting from the document root.
Support: Web(WebView)
waitForElementById(String) - Method in class macaca.client.MacacaClient
Search for an element on the page, starting from the document root.
Support: Android iOS Web(WebView)
waitForElementByLinkText(String) - Method in class macaca.client.MacacaClient
Search for an element on the page, starting from the document root.
Support: Android iOS Web(WebView)
waitForElementByName(String) - Method in class macaca.client.MacacaClient
Search for an element on the page, starting from the document root.
Support: Android iOS Web(WebView)
waitForElementByPartialLinkText(String) - Method in class macaca.client.MacacaClient
Search for an element on the page, starting from the document root.
Support: Android iOS Web(WebView)
waitForElementByTagName(String) - Method in class macaca.client.MacacaClient
Search for an element on the page, starting from the document root.
Support: Android iOS Web(WebView)
waitForElementByXPath(String) - Method in class macaca.client.MacacaClient
Search for an element on the page, starting from the document root.
Support: Android iOS Web(WebView)
Window - Class in macaca.client.commands
 
Window(MacacaDriver) - Constructor for class macaca.client.commands.Window
 
WINDOW - Static variable in class macaca.client.common.DriverCommand
 
WINDOW_HANDLE - Static variable in class macaca.client.common.DriverCommand
 
WINDOW_HANDLES - Static variable in class macaca.client.common.DriverCommand
 
WINDOW_SIZE - Static variable in class macaca.client.common.DriverCommand
 
A B C D E F G H I J K L M P Q R S T U V W 
Skip navigation links