I am trying to learn selenium with java using ebay.com. I found a difficult element to select element after mouse hover. Here is my snippet code
driver.findElement(By.xpath("//a[contains(text(),'Tennis')]")).click()
However above code return error element not interactable
I have add Thread.sleep(60000) before driver.findElement and still not able to click
here is the window i wanted to click


Hover to Sports menu using
Actionsand when menu opens click to the Tennis submenu. To wait for Tennis to be clickable useWebDriverWait: