The new PCIbex Farm is here! Be sure to check out all of its new features and changes.

Link Search Menu Expand Document

text.text

description

Resets the text of the element.

syntax

getText(ELEMENT_NAME).text(string)
  • string :

example(s)


@newText("onlyTextOnScreen", "You have not pressed the spacebar yet")
@    .print()
@,
@newKey("spacebar", " ")
@    .wait()
@,
@getText("onlyTextOnScreen")
@    .text("Now you have pressed the spacebar.")
  • Updates the text after the spacebar was presssed.