Simulate a person typing in a DOM node.