typeString

static void typeString(String chars)

Types the specified string

Parameters

chars

the string to type

static void typeString(String desired, String current)

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

Parameters

desired

the desired typed string

current

the currently typed string