org.openqa.selenium.internal.seleniumemulation
Class SeleneseCommand<T>

java.lang.Object
  extended by org.openqa.selenium.internal.seleniumemulation.SeleneseCommand<T>
Direct Known Subclasses:
AddLocationStrategy, AddSelection, AllowNativeXPath, AltKeyDown, AltKeyUp, AssignId, AttachFile, CaptureScreenshotToString, Check, Click, ClickAt, Close, ControlKeyDown, ControlKeyUp, CreateCookie, DeleteAllVisibleCookies, DeleteCookie, DeselectPopUp, DoubleClick, DragAndDrop, FindFirstSelectedOptionProperty, FindSelectedOptionProperties, FireEvent, FireNamedEvent, GetAlert, GetAllButtons, GetAllFields, GetAllLinks, GetAllWindowTitles, GetAttribute, GetAttributeFromAllWindows, GetBodyText, GetConfirmation, GetCookie, GetCookieByName, GetCssCount, GetElementHeight, GetElementIndex, GetElementPositionLeft, GetElementPositionTop, GetElementWidth, GetEval, GetExpression, GetHtmlSource, GetLocation, GetSelectOptions, GetTable, GetText, GetTitle, GetValue, GetXpathCount, GoBack, Highlight, IsAlertPresent, IsChecked, IsConfirmationPresent, IsCookiePresent, IsEditable, IsElementPresent, IsOrdered, IsSomethingSelected, IsTextPresent, IsVisible, KeyEvent, MetaKeyDown, MetaKeyUp, MouseEvent, MouseEventAt, NoOp, Open, OpenWindow, Refresh, RemoveAllSelections, RemoveSelection, RunScript, SelectFrame, SelectOption, SelectPopUp, SelectWindow, SetNextConfirmationState, SetTimeout, ShiftKeyDown, ShiftKeyUp, Submit, Type, TypeKeys, Uncheck, UseXPathLibrary, WaitForCondition, WaitForPageToLoad, WaitForPopup, WindowFocus, WindowMaximize

public abstract class SeleneseCommand<T>
extends Object


Constructor Summary
SeleneseCommand()
           
 
Method Summary
 T apply(org.openqa.selenium.WebDriver driver, String[] args)
           
protected  long getTimeout(String timeout)
           
protected abstract  T handleSeleneseCommand(org.openqa.selenium.WebDriver driver, String locator, String value)
           
protected  void setDefaultTimeout(long defaultTimeout)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SeleneseCommand

public SeleneseCommand()
Method Detail

apply

public T apply(org.openqa.selenium.WebDriver driver,
               String[] args)

setDefaultTimeout

protected void setDefaultTimeout(long defaultTimeout)

getTimeout

protected long getTimeout(String timeout)

handleSeleneseCommand

protected abstract T handleSeleneseCommand(org.openqa.selenium.WebDriver driver,
                                           String locator,
                                           String value)


Copyright © 2012. All Rights Reserved.