Here is my code snippet:
WebElement menu= bd.findElement(By.cssSelector("#main-nav > div.multi-level-nav.reveal-on-click > div > ul.first-level-ul > li:nth-child(1) > a"));
actions.moveToElement(menu).build().perform();
System.out.println("Mouse hover action completed");
Thread.sleep(5000);
The code works fine, however, I am facing an issue where the dropdown button does not appear on the screen when running in the browser after doing the mouse hover. I need help resolving this display issue.