Package com.intuit.karate.robot.mac
Class MacRobot
- java.lang.Object
-
- com.intuit.karate.robot.RobotBase
-
- com.intuit.karate.robot.mac.MacRobot
-
-
Field Summary
-
Fields inherited from class com.intuit.karate.robot.RobotBase
autoClose, autoDelay, command, currentWindow, debug, dimension, engine, highlight, highlightDuration, logger, options, robot, screen, screenshotOnFailure, tessData, tessLang, toolkit
-
Fields inherited from interface com.intuit.karate.robot.Robot
METHOD_NAMES
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>afterScenario()List<Window>getAllWindows()static List<String>getAppsMacOs()ElementgetFocused()ElementgetRoot()List<Element>locateAllInternal(Element searchRoot, String locator)ElementlocateInternal(Element root, String locator)ElementwindowInternal(String title)ElementwindowInternal(java.util.function.Predicate<String> condition)-
Methods inherited from class com.intuit.karate.robot.RobotBase
activate, clearFocused, click, click, click, click, debugImage, delay, disableRetry, doubleClick, enableRetry, exists, focus, getActive, getClipboard, getHighlightDuration, getLocation, getLogger, getSearchRoot, highlight, highlightAll, input, input, input, input, input, locate, locate, locateAll, locateAll, locateAllImages, locateAllText, locateImage, locateImage, locateText, location, move, move, onFailure, optional, optional, press, press, region, release, release, retry, retry, retry, retry, retryForAny, rightClick, screenshot, screenshot, screenshot, screenshotActive, select, setActive, setBasePath, setDebug, setHighlight, setHighlightDuration, waitFor, waitForAny, waitForAny, waitForOptional, waitForWindowOptional, waitForWindowOptional, waitUntil, waitUntil, waitUntilOptional, window, window, windowExists, windowOptional
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.intuit.karate.robot.Robot
methodNames
-
-
-
-
Method Detail
-
windowInternal
public Element windowInternal(String title)
- Specified by:
windowInternalin classRobotBase
-
windowInternal
public Element windowInternal(java.util.function.Predicate<String> condition)
- Specified by:
windowInternalin classRobotBase
-
locateAllInternal
public List<Element> locateAllInternal(Element searchRoot, String locator)
- Specified by:
locateAllInternalin classRobotBase
-
locateInternal
public Element locateInternal(Element root, String locator)
- Specified by:
locateInternalin classRobotBase
-
getRoot
public Element getRoot()
-
getFocused
public Element getFocused()
- Specified by:
getFocusedin interfaceRobot- Specified by:
getFocusedin classRobotBase
-
-