Logging a value on a webpage

attribute = WebUI.getText(findTestObject('your test object goes here'))
println(attribute)

if you wish to reduce the amount youre capturing i.e.
“your reference is abc123”
but you only want the actual reference see this thread: