Class SeleneseCommand<T>
- java.lang.Object
-
- com.thoughtworks.selenium.webdriven.SeleneseCommand<T>
-
- Direct Known Subclasses:
AddLocationStrategy,AddSelection,AllowNativeXPath,AltKeyDown,AltKeyUp,AnswerOnNextPrompt,AssignId,AttachFile,CaptureScreenshotToString,Check,Click,ClickAt,Close,ControlKeyDown,ControlKeyUp,CreateCookie,DeleteAllVisibleCookies,DeleteCookie,DeselectPopUp,DoubleClick,DragAndDrop,DragAndDropToObject,FindFirstSelectedOptionProperty,FindSelectedOptionProperties,FireEvent,FireNamedEvent,GetAlert,GetAllButtons,GetAllFields,GetAllLinks,GetAllWindowNames,GetAllWindowTitles,GetAttribute,GetAttributeFromAllWindows,GetBodyText,GetConfirmation,GetCookie,GetCookieByName,GetCssCount,GetCursorPosition,GetElementHeight,GetElementIndex,GetElementPositionLeft,GetElementPositionTop,GetElementWidth,GetEval,GetExpression,GetHtmlSource,GetLocation,GetSelectOptions,GetTable,GetText,GetTitle,GetValue,GetXpathCount,GoBack,Highlight,IsAlertPresent,IsChecked,IsConfirmationPresent,IsCookiePresent,IsEditable,IsElementPresent,IsOrdered,IsPromptPresent,IsSomethingSelected,IsTextPresent,IsVisible,KeyDownNative,KeyEvent,KeyPressNative,KeyUpNative,MetaKeyDown,MetaKeyUp,MouseEvent,MouseEventAt,NoOp,Open,OpenWindow,Refresh,RemoveAllSelections,RemoveSelection,RunScript,SelectFrame,SelectOption,SelectPopUp,SelectWindow,SetCursorPosition,SetNextConfirmationState,SetTimeout,ShiftKeyDown,ShiftKeyUp,Submit,Type,TypeKeys,Uncheck,UseXPathLibrary,WaitForCondition,WaitForPageToLoad,WaitForPopup,WindowFocus,WindowMaximize
public abstract class SeleneseCommand<T> extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SeleneseCommand()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Tapply(org.openqa.selenium.WebDriver driver, java.lang.String[] args)protected abstract ThandleSeleneseCommand(org.openqa.selenium.WebDriver driver, java.lang.String locator, java.lang.String value)voidsetDefaultTimeout(long defaultTimeout)protected longtoLong(java.lang.String timeout)
-
-
-
Method Detail
-
apply
public T apply(org.openqa.selenium.WebDriver driver, java.lang.String[] args)
-
setDefaultTimeout
public void setDefaultTimeout(long defaultTimeout)
-
toLong
protected long toLong(java.lang.String timeout)
-
handleSeleneseCommand
protected abstract T handleSeleneseCommand(org.openqa.selenium.WebDriver driver, java.lang.String locator, java.lang.String value)
-
-