The second screenshot shows that when the mouse hovers, the HTML structure changes and gives us 2 list items.
However, the first screenshot shows that a three-structured HTML structure is visible when the mouse is not at the search bar.
If you could help me with how to automate this problem.