Package com.intuit.karate.robot
Interface Robot
-
- All Superinterfaces:
com.intuit.karate.core.Plugin
- All Known Implementing Classes:
LinuxRobot,MacRobot,RobotBase,WinRobot
public interface Robot extends com.intuit.karate.core.Plugin- Author:
- pthomas3
-
-
Field Summary
Fields Modifier and Type Field Description static List<String>METHOD_NAMES
-
Method Summary
-
-
-
Method Detail
-
methodNames
default List<String> methodNames()
- Specified by:
methodNamesin interfacecom.intuit.karate.core.Plugin
-
retry
Robot retry()
-
retry
Robot retry(int count)
-
delay
Robot delay(int millis)
-
click
Robot click()
-
click
Robot click(int num)
-
doubleClick
Robot doubleClick()
-
rightClick
Robot rightClick()
-
press
Robot press()
-
release
Robot release()
-
screenshot
byte[] screenshot()
-
screenshotActive
byte[] screenshotActive()
-
move
Robot move(int x, int y)
-
click
Robot click(int x, int y)
-
exists
boolean exists(String locator)
-
windowExists
boolean windowExists(String locator)
-
getActive
Element getActive()
-
getRoot
Element getRoot()
-
getFocused
Element getFocused()
-
getClipboard
String getClipboard()
-
getLocation
Location getLocation()
-
-