hasFocus()
Returns true if this element currently has input focus.
hasFocus(): boolean;
Notes
Related
class TestOutputElement
A class that represents a rendered output element.
Returns true if this element currently has input focus.
hasFocus(): boolean;