类org.openqa.selenium.interactions.internal.Coordinates源码实例Demo

下面列出了怎么用org.openqa.selenium.interactions.internal.Coordinates的API类实例代码及写法,或者点击链接到github查看源代码。

源代码1 项目: xframium-java   文件: MorelandWebElement.java
@Override
public Coordinates getCoordinates()
{
    if ( webElement instanceof Locatable )
    {
        if ( cachedCoordinates == null )
            cachedCoordinates = ( (Locatable) webElement ).getCoordinates();
    
        return cachedCoordinates;
    }
    else
        return null;
}
 
源代码2 项目: jsflight   文件: LocatedElement.java
@Override
public Coordinates getCoordinates()
{
    try
    {
        return ((Locatable)delegate).getCoordinates();
    }
    catch (StaleElementReferenceException e)
    {
        reLocateElement();
        return getCoordinates();
    }
}
 
源代码3 项目: teasy   文件: NullTeasyElement.java
@Override
public Coordinates getCoordinates() {
    throw noSuchElementException();
}
 
 类所在包
 类方法
 同包方法