typeLine

open fun typeLine(chars: String)

Types the specified string and presses enter after

Parameters

chars

the string to type


open fun typeLine(desired: String, current: String)

Types the specified string, pressing backspace if needed in order to go from the 'current' string to the 'desired' string. It then presses enter. Ex. if desired is "Iron ore" and current is "Iron b", this will press backspace once and then type "ore", then enter

Parameters

desired

the desired typed string

current

the currently typed string