org.alfresco.webdrone.share
Class ShareLink

java.lang.Object
  extended by org.alfresco.webdrone.share.ShareLink

public class ShareLink
extends Object

Represents a generic link, a warpper for WebElement

Since:
1.3
Author:
Michael Suzuki

Constructor Summary
ShareLink(org.openqa.selenium.WebElement link, WebDrone drone)
           
 
Method Summary
 SharePage click()
          Actions a click on the link element.
 String getDescription()
          Gets text value of link
 String getHref()
           
 org.openqa.selenium.WebElement getLink()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ShareLink

public ShareLink(org.openqa.selenium.WebElement link,
                 WebDrone drone)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

getDescription

public String getDescription()
Gets text value of link


getHref

public String getHref()

getLink

public org.openqa.selenium.WebElement getLink()

click

public SharePage click()
Actions a click on the link element.

Returns:
HtmlPage page response of clicking the link


Copyright © 2013. All Rights Reserved.