WebElement menu1=driver.......
WebElement menu2=driver.......
Actions builder = new Actions(driver);
Actions hoverOverRgeistrar = builder.moveToElement(menu1);
hoverOverRgeistrar.perform();
menu2.click();
// builder.moveToElement(element).perform();
时间: 2024-10-07 01:16:35