📜  python selenium 悬停在元素上 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:29.827000             🧑  作者: Mango

代码示例2
By using Actions class

WebElement element = driver.findElement(By.xpath("xpath"));
Actions action = new Actions(driver);
action.moveToElement(element).perform();