public class MouseEvents extends Object
| Modifier and Type | Method and Description |
|---|---|
static org.openqa.selenium.WebElement |
hover(org.openqa.selenium.By by,
org.openqa.selenium.WebDriver driver)
Fires a mouse over event on an element that matches the By
|
static org.openqa.selenium.WebElement |
hover(org.openqa.selenium.WebElement el,
org.openqa.selenium.WebDriver driver)
Fires a mouse over event on the specified element.
|
static org.openqa.selenium.WebElement |
mouseout(org.openqa.selenium.By by,
org.openqa.selenium.WebDriver driver)
Fires a mouse out event on the element that matches the By.
|
static org.openqa.selenium.WebElement |
mouseout(org.openqa.selenium.WebElement el,
org.openqa.selenium.WebDriver driver)
Fires a mouse out event on the element.
|
public static org.openqa.selenium.WebElement hover(org.openqa.selenium.By by,
org.openqa.selenium.WebDriver driver)
by - the element matcher to apply the hover to.WebElement that the hover was triggered on.public static org.openqa.selenium.WebElement hover(org.openqa.selenium.WebElement el,
org.openqa.selenium.WebDriver driver)
el - The element to fire the hover event on.WebElement the hover was triggered on.public static org.openqa.selenium.WebElement mouseout(org.openqa.selenium.By by,
org.openqa.selenium.WebDriver driver)
by - the element matcher to apply the hover to.WebElement the mouseout was fired on.public static org.openqa.selenium.WebElement mouseout(org.openqa.selenium.WebElement el,
org.openqa.selenium.WebDriver driver)
el - the element to fire the mouseout event on.WebElement the mouseout was fired on.Copyright © 2015 Atlassian. All rights reserved.