Playwright · Junior · Question 31 of 75
Which method moves the mouse over an element to show its tooltip?
- 1
hover() - 2
focus() - 3
point()
Show the answer
Correct answer: hover()
Explanation
hover() waits for the element to be actionable and moves the mouse over it, triggering hover styles and mouseenter handlers.