standard.log
Audio Button Canvas Controller DropDown Function Html Image Key MediaRecorder Scale Selector Text TextInput Timer Tooltip Var Video Youtube
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()
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()