Button
element
Action commands
Test commands
description
Represents a clickable button.
syntax
newButton(ELEMENT_NAME: string, BUTTON_TEXT: string)
-
ELEMENT_NAME
: The name of the newly-created element. -
BUTTON_TEXT
: The text that appears on the button.
since
beta 0.3example(s)
newButton("click", "Click me!")
.print()
.wait()
Prints a Button
to the screen and waits for it to be clicked.