Reputation: 2728
What is the difference between focus and blur in fireEvent of Selenium? Kindly,help.
In which situations do we use it?
Upvotes: 0
Views: 1693
Reputation: 25076
This is not a Selenium specific question...
The focus
event is fired when an element gains focus.
The blur
event is fired when an element loses focus.
Upvotes: 2