This tests that when setting focus, the cursor moves. On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". PASS textfield.stringValue is 'AXValue: ' PASS textfield.stringValue is 'AXValue: ' PASS textfield.isFocused is true PASS document.activeElement is document.getElementById('textfield') PASS textfield.stringValue is 'AXValue: a' PASS successfullyParsed is true TEST COMPLETE