standard.log

description

Will add lines to the results file reporting element-specific events. See each Element page to see what gets recorded, and which parameter you can pass to log.

syntax

getX(ELEMENT_NAME).log()

What does getX() mean?

notes

  • For Canvas elements, Image elements and Text elements the results lines will report the timestamp corresponding to when print was called (if it was called).

example(s)


@
@newButton("go", "Go!")
@    .print()
@    .wait()
@,
@newText("sentence", "Hello world!")
$    .log()
@    .print()
@,
@newButton("done", "Done!")
@    .print()
@    .wait()