skrypton-api / com.waicool20.skrypton.sikulix

Package com.waicool20.skrypton.sikulix

Contains SKrypton specific versions of the SikuliX API.

Types

ISikuliRegion

interface ISikuliRegion

Interfaces that copies most of the Region APIs Mainly used for allowing easy delegation of SKryptonMatch functions to SKryptonRegion. See here for more information.

SKryptonMatch

class SKryptonMatch : Match, ISikuliRegion

A class subclassing Match, it is identical for the most part but allows the use of independent mouse and keyboard actions.

SKryptonRegion

open class SKryptonRegion : Region, ISikuliRegion

A class subclassing Region, it is identical for the most part but allows the use of independent mouse and keyboard actions.

SKryptonScreen

class SKryptonScreen : SKryptonRegion, IScreen

A class representing a IScreen that uses the given web view as its view port.

Functions

screen

fun SKryptonApp.screen(url: String, showCursor: Boolean = true, width: Int = 1280, height: Int = 720, action: SKryptonScreen.() -> Unit = {}): SKryptonScreen

Creates a SKryptonScreen under this SKryptonApp instance

fun SKryptonWebView.screen(action: SKryptonScreen.() -> Unit = {}): SKryptonScreen

Creates a SKryptonScreen under this SKryptonWebView instance