@Deprecated public class DefaultSelenium extends Object implements com.thoughtworks.selenium.Selenium
| Modifier and Type | Field and Description |
|---|---|
protected com.thoughtworks.selenium.CommandProcessor |
commandProcessor
Deprecated.
|
| Constructor and Description |
|---|
DefaultSelenium(com.thoughtworks.selenium.CommandProcessor processor)
Deprecated.
Uses an arbitrary CommandProcessor
|
DefaultSelenium(String serverHost,
int serverPort,
String browserStartCommand,
String browserURL)
Deprecated.
Uses a CommandBridgeClient, specifying a server host/port, a command to launch the browser, and
a starting URL for the browser.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCustomRequestHeader(String key,
String value)
Deprecated.
|
void |
addLocationStrategy(String strategyName,
String functionDefinition)
Deprecated.
|
void |
addScript(String scriptContent,
String scriptTagId)
Deprecated.
|
void |
addSelection(String locator,
String optionLocator)
Deprecated.
|
void |
allowNativeXpath(String allow)
Deprecated.
|
void |
altKeyDown()
Deprecated.
|
void |
altKeyUp()
Deprecated.
|
void |
answerOnNextPrompt(String answer)
Deprecated.
|
void |
assignId(String locator,
String identifier)
Deprecated.
|
void |
attachFile(String fieldLocator,
String fileLocator)
Deprecated.
|
void |
captureEntirePageScreenshot(String filename,
String kwargs)
Deprecated.
|
String |
captureEntirePageScreenshotToString(String kwargs)
Deprecated.
|
String |
captureNetworkTraffic(String type)
Deprecated.
|
void |
captureScreenshot(String filename)
Deprecated.
|
String |
captureScreenshotToString()
Deprecated.
|
void |
check(String locator)
Deprecated.
|
void |
chooseCancelOnNextConfirmation()
Deprecated.
|
void |
chooseOkOnNextConfirmation()
Deprecated.
|
void |
click(String locator)
Deprecated.
|
void |
clickAt(String locator,
String coordString)
Deprecated.
|
void |
close()
Deprecated.
|
void |
contextMenu(String locator)
Deprecated.
|
void |
contextMenuAt(String locator,
String coordString)
Deprecated.
|
void |
controlKeyDown()
Deprecated.
|
void |
controlKeyUp()
Deprecated.
|
void |
createCookie(String nameValuePair,
String optionsString)
Deprecated.
|
void |
deleteAllVisibleCookies()
Deprecated.
|
void |
deleteCookie(String name,
String optionsString)
Deprecated.
|
void |
deselectPopUp()
Deprecated.
|
void |
doubleClick(String locator)
Deprecated.
|
void |
doubleClickAt(String locator,
String coordString)
Deprecated.
|
void |
dragAndDrop(String locator,
String movementsString)
Deprecated.
|
void |
dragAndDropToObject(String locatorOfObjectToBeDragged,
String locatorOfDragDestinationObject)
Deprecated.
|
void |
dragdrop(String locator,
String movementsString)
Deprecated.
|
void |
fireEvent(String locator,
String eventName)
Deprecated.
|
void |
focus(String locator)
Deprecated.
|
String |
getAlert()
Deprecated.
|
String[] |
getAllButtons()
Deprecated.
|
String[] |
getAllFields()
Deprecated.
|
String[] |
getAllLinks()
Deprecated.
|
String[] |
getAllWindowIds()
Deprecated.
|
String[] |
getAllWindowNames()
Deprecated.
|
String[] |
getAllWindowTitles()
Deprecated.
|
String |
getAttribute(String attributeLocator)
Deprecated.
|
String[] |
getAttributeFromAllWindows(String attributeName)
Deprecated.
|
String |
getBodyText()
Deprecated.
|
String |
getConfirmation()
Deprecated.
|
String |
getCookie()
Deprecated.
|
String |
getCookieByName(String name)
Deprecated.
|
Number |
getCssCount(String css)
Deprecated.
|
Number |
getCursorPosition(String locator)
Deprecated.
|
Number |
getElementHeight(String locator)
Deprecated.
|
Number |
getElementIndex(String locator)
Deprecated.
|
Number |
getElementPositionLeft(String locator)
Deprecated.
|
Number |
getElementPositionTop(String locator)
Deprecated.
|
Number |
getElementWidth(String locator)
Deprecated.
|
String |
getEval(String script)
Deprecated.
|
String |
getExpression(String expression)
Deprecated.
|
String |
getHtmlSource()
Deprecated.
|
String |
getLocation()
Deprecated.
|
String |
getLog()
Deprecated.
|
Number |
getMouseSpeed()
Deprecated.
|
String |
getPrompt()
Deprecated.
|
String |
getSelectedId(String selectLocator)
Deprecated.
|
String[] |
getSelectedIds(String selectLocator)
Deprecated.
|
String |
getSelectedIndex(String selectLocator)
Deprecated.
|
String[] |
getSelectedIndexes(String selectLocator)
Deprecated.
|
String |
getSelectedLabel(String selectLocator)
Deprecated.
|
String[] |
getSelectedLabels(String selectLocator)
Deprecated.
|
String |
getSelectedValue(String selectLocator)
Deprecated.
|
String[] |
getSelectedValues(String selectLocator)
Deprecated.
|
String[] |
getSelectOptions(String selectLocator)
Deprecated.
|
String |
getSpeed()
Deprecated.
|
String |
getTable(String tableCellAddress)
Deprecated.
|
String |
getText(String locator)
Deprecated.
|
String |
getTitle()
Deprecated.
|
String |
getValue(String locator)
Deprecated.
|
boolean |
getWhetherThisFrameMatchFrameExpression(String currentFrameString,
String target)
Deprecated.
|
boolean |
getWhetherThisWindowMatchWindowExpression(String currentWindowString,
String target)
Deprecated.
|
Number |
getXpathCount(String xpath)
Deprecated.
|
void |
goBack()
Deprecated.
|
void |
highlight(String locator)
Deprecated.
|
void |
ignoreAttributesWithoutValue(String ignore)
Deprecated.
|
boolean |
isAlertPresent()
Deprecated.
|
boolean |
isChecked(String locator)
Deprecated.
|
boolean |
isConfirmationPresent()
Deprecated.
|
boolean |
isCookiePresent(String name)
Deprecated.
|
boolean |
isEditable(String locator)
Deprecated.
|
boolean |
isElementPresent(String locator)
Deprecated.
|
boolean |
isOrdered(String locator1,
String locator2)
Deprecated.
|
boolean |
isPromptPresent()
Deprecated.
|
boolean |
isSomethingSelected(String selectLocator)
Deprecated.
|
boolean |
isTextPresent(String pattern)
Deprecated.
|
boolean |
isVisible(String locator)
Deprecated.
|
void |
keyDown(String locator,
String keySequence)
Deprecated.
|
void |
keyDownNative(String keycode)
Deprecated.
|
void |
keyPress(String locator,
String keySequence)
Deprecated.
|
void |
keyPressNative(String keycode)
Deprecated.
|
void |
keyUp(String locator,
String keySequence)
Deprecated.
|
void |
keyUpNative(String keycode)
Deprecated.
|
void |
metaKeyDown()
Deprecated.
|
void |
metaKeyUp()
Deprecated.
|
void |
mouseDown(String locator)
Deprecated.
|
void |
mouseDownAt(String locator,
String coordString)
Deprecated.
|
void |
mouseDownRight(String locator)
Deprecated.
|
void |
mouseDownRightAt(String locator,
String coordString)
Deprecated.
|
void |
mouseMove(String locator)
Deprecated.
|
void |
mouseMoveAt(String locator,
String coordString)
Deprecated.
|
void |
mouseOut(String locator)
Deprecated.
|
void |
mouseOver(String locator)
Deprecated.
|
void |
mouseUp(String locator)
Deprecated.
|
void |
mouseUpAt(String locator,
String coordString)
Deprecated.
|
void |
mouseUpRight(String locator)
Deprecated.
|
void |
mouseUpRightAt(String locator,
String coordString)
Deprecated.
|
void |
open(String url)
Deprecated.
|
void |
open(String url,
String ignoreResponseCode)
Deprecated.
|
void |
openWindow(String url,
String windowID)
Deprecated.
|
void |
refresh()
Deprecated.
|
void |
removeAllSelections(String locator)
Deprecated.
|
void |
removeScript(String scriptTagId)
Deprecated.
|
void |
removeSelection(String locator,
String optionLocator)
Deprecated.
|
String |
retrieveLastRemoteControlLogs()
Deprecated.
|
void |
rollup(String rollupName,
String kwargs)
Deprecated.
|
void |
runScript(String script)
Deprecated.
|
void |
select(String selectLocator,
String optionLocator)
Deprecated.
|
void |
selectFrame(String locator)
Deprecated.
|
void |
selectPopUp(String windowID)
Deprecated.
|
void |
selectWindow(String windowID)
Deprecated.
|
void |
setBrowserLogLevel(String logLevel)
Deprecated.
|
void |
setContext(String context)
Deprecated.
|
void |
setCursorPosition(String locator,
String position)
Deprecated.
|
void |
setExtensionJs(String extensionJs)
Deprecated.
Allows javascript to be specified for the test on a per-browser session basis.
|
void |
setMouseSpeed(String pixels)
Deprecated.
|
void |
setSpeed(String value)
Deprecated.
|
void |
setTimeout(String timeout)
Deprecated.
|
void |
shiftKeyDown()
Deprecated.
|
void |
shiftKeyUp()
Deprecated.
|
void |
showContextualBanner()
Deprecated.
|
void |
showContextualBanner(String className,
String methodName)
Deprecated.
|
void |
shutDownSeleniumServer()
Deprecated.
|
void |
start()
Deprecated.
|
void |
start(Object optionsObject)
Deprecated.
|
void |
start(String optionsString)
Deprecated.
|
void |
stop()
Deprecated.
|
void |
submit(String formLocator)
Deprecated.
|
void |
type(String locator,
String value)
Deprecated.
|
void |
typeKeys(String locator,
String value)
Deprecated.
|
void |
uncheck(String locator)
Deprecated.
|
void |
useXpathLibrary(String libraryName)
Deprecated.
|
void |
waitForCondition(String script,
String timeout)
Deprecated.
|
void |
waitForFrameToLoad(String frameAddress,
String timeout)
Deprecated.
|
void |
waitForPageToLoad(String timeout)
Deprecated.
|
void |
waitForPopUp(String windowID,
String timeout)
Deprecated.
|
void |
windowFocus()
Deprecated.
|
void |
windowMaximize()
Deprecated.
|
protected com.thoughtworks.selenium.CommandProcessor commandProcessor
public DefaultSelenium(String serverHost, int serverPort, String browserStartCommand, String browserURL)
browserStartCommand may be any one of the following:
*firefox [absolute path] - Automatically launch a new Firefox process using a
custom Firefox profile. This profile will be automatically configured to use the Selenium
Server as a proxy and to have all annoying prompts ("save your password?" "forms are insecure"
"make Firefox your default browser?" disabled. You may optionally specify an absolute path to
your firefox executable, or just say "*firefox". If no absolute path is specified, we'll look
for firefox.exe in a default location (normally c:\program files\mozilla firefox\firefox.exe),
which you can override by setting the Java system property firefoxDefaultPath to
the correct path to Firefox.*iexplore [absolute path] - Automatically launch a new Internet Explorer
process using custom Windows registry settings. This process will be automatically configured
to use the Selenium Server as a proxy and to have all annoying prompts ("save your password?"
"forms are insecure" "make Firefox your default browser?" disabled. You may optionally specify
an absolute path to your iexplore executable, or just say "*iexplore". If no absolute path is
specified, we'll look for iexplore.exe in a default location (normally c:\program
files\internet explorer\iexplore.exe), which you can override by setting the Java system
property iexploreDefaultPath to the correct path to Internet Explorer./path/to/my/browser [other arguments] - You may also simply specify the
absolute path to your browser executable, or use a relative path to your executable (which
we'll try to find on your path). Warning: If you specify your own custom browser, it's
up to you to configure it correctly. At a minimum, you'll need to configure your browser to use
the Selenium Server as a proxy, and disable all browser-specific prompting.
serverHost - the host name on which the Selenium Server residesserverPort - the port on which the Selenium Server is listeningbrowserStartCommand - the command string used to launch the browser, e.g. "*firefox",
"*iexplore" or "c:\\program files\\internet explorer\\iexplore.exe"browserURL - the starting URL including just a domain name. We'll start the browser
pointing at the Selenium resources on this URL, e.g. "http://www.google.com" would send
the browser to "http://www.google.com/selenium-server/SeleneseRunner.html"public DefaultSelenium(com.thoughtworks.selenium.CommandProcessor processor)
public void setExtensionJs(String extensionJs)
start() is invoked (and getNewBrowserSession is sent to the RC under
the sheets).setExtensionJs in interface com.thoughtworks.selenium.SeleniumextensionJs - a string representing the extra extension javascript to include in the
browser session. This is in addition to any specified via the -userExtensions switch
when starting the RC.public void start()
start in interface com.thoughtworks.selenium.Seleniumpublic void start(String optionsString)
start in interface com.thoughtworks.selenium.Seleniumpublic void start(Object optionsObject)
start in interface com.thoughtworks.selenium.Seleniumpublic void stop()
stop in interface com.thoughtworks.selenium.Seleniumpublic void showContextualBanner()
showContextualBanner in interface com.thoughtworks.selenium.Seleniumpublic void showContextualBanner(String className, String methodName)
showContextualBanner in interface com.thoughtworks.selenium.Seleniumpublic void click(String locator)
click in interface com.thoughtworks.selenium.Seleniumpublic void doubleClick(String locator)
doubleClick in interface com.thoughtworks.selenium.Seleniumpublic void contextMenu(String locator)
contextMenu in interface com.thoughtworks.selenium.Seleniumpublic void clickAt(String locator, String coordString)
clickAt in interface com.thoughtworks.selenium.Seleniumpublic void doubleClickAt(String locator, String coordString)
doubleClickAt in interface com.thoughtworks.selenium.Seleniumpublic void contextMenuAt(String locator, String coordString)
contextMenuAt in interface com.thoughtworks.selenium.Seleniumpublic void fireEvent(String locator, String eventName)
fireEvent in interface com.thoughtworks.selenium.Seleniumpublic void focus(String locator)
focus in interface com.thoughtworks.selenium.Seleniumpublic void keyPress(String locator, String keySequence)
keyPress in interface com.thoughtworks.selenium.Seleniumpublic void shiftKeyDown()
shiftKeyDown in interface com.thoughtworks.selenium.Seleniumpublic void shiftKeyUp()
shiftKeyUp in interface com.thoughtworks.selenium.Seleniumpublic void metaKeyDown()
metaKeyDown in interface com.thoughtworks.selenium.Seleniumpublic void metaKeyUp()
metaKeyUp in interface com.thoughtworks.selenium.Seleniumpublic void altKeyDown()
altKeyDown in interface com.thoughtworks.selenium.Seleniumpublic void altKeyUp()
altKeyUp in interface com.thoughtworks.selenium.Seleniumpublic void controlKeyDown()
controlKeyDown in interface com.thoughtworks.selenium.Seleniumpublic void controlKeyUp()
controlKeyUp in interface com.thoughtworks.selenium.Seleniumpublic void keyDown(String locator, String keySequence)
keyDown in interface com.thoughtworks.selenium.Seleniumpublic void keyUp(String locator, String keySequence)
keyUp in interface com.thoughtworks.selenium.Seleniumpublic void mouseOver(String locator)
mouseOver in interface com.thoughtworks.selenium.Seleniumpublic void mouseOut(String locator)
mouseOut in interface com.thoughtworks.selenium.Seleniumpublic void mouseDown(String locator)
mouseDown in interface com.thoughtworks.selenium.Seleniumpublic void mouseDownRight(String locator)
mouseDownRight in interface com.thoughtworks.selenium.Seleniumpublic void mouseDownAt(String locator, String coordString)
mouseDownAt in interface com.thoughtworks.selenium.Seleniumpublic void mouseDownRightAt(String locator, String coordString)
mouseDownRightAt in interface com.thoughtworks.selenium.Seleniumpublic void mouseUp(String locator)
mouseUp in interface com.thoughtworks.selenium.Seleniumpublic void mouseUpRight(String locator)
mouseUpRight in interface com.thoughtworks.selenium.Seleniumpublic void mouseUpAt(String locator, String coordString)
mouseUpAt in interface com.thoughtworks.selenium.Seleniumpublic void mouseUpRightAt(String locator, String coordString)
mouseUpRightAt in interface com.thoughtworks.selenium.Seleniumpublic void mouseMove(String locator)
mouseMove in interface com.thoughtworks.selenium.Seleniumpublic void mouseMoveAt(String locator, String coordString)
mouseMoveAt in interface com.thoughtworks.selenium.Seleniumpublic void type(String locator, String value)
type in interface com.thoughtworks.selenium.Seleniumpublic void typeKeys(String locator, String value)
typeKeys in interface com.thoughtworks.selenium.Seleniumpublic void setSpeed(String value)
setSpeed in interface com.thoughtworks.selenium.Seleniumpublic String getSpeed()
getSpeed in interface com.thoughtworks.selenium.Seleniumpublic String getLog()
getLog in interface com.thoughtworks.selenium.Seleniumpublic void check(String locator)
check in interface com.thoughtworks.selenium.Seleniumpublic void uncheck(String locator)
uncheck in interface com.thoughtworks.selenium.Seleniumpublic void select(String selectLocator, String optionLocator)
select in interface com.thoughtworks.selenium.Seleniumpublic void addSelection(String locator, String optionLocator)
addSelection in interface com.thoughtworks.selenium.Seleniumpublic void removeSelection(String locator, String optionLocator)
removeSelection in interface com.thoughtworks.selenium.Seleniumpublic void removeAllSelections(String locator)
removeAllSelections in interface com.thoughtworks.selenium.Seleniumpublic void submit(String formLocator)
submit in interface com.thoughtworks.selenium.Seleniumpublic void open(String url, String ignoreResponseCode)
open in interface com.thoughtworks.selenium.Seleniumpublic void open(String url)
open in interface com.thoughtworks.selenium.Seleniumpublic void openWindow(String url, String windowID)
openWindow in interface com.thoughtworks.selenium.Seleniumpublic void selectWindow(String windowID)
selectWindow in interface com.thoughtworks.selenium.Seleniumpublic void selectPopUp(String windowID)
selectPopUp in interface com.thoughtworks.selenium.Seleniumpublic void deselectPopUp()
deselectPopUp in interface com.thoughtworks.selenium.Seleniumpublic void selectFrame(String locator)
selectFrame in interface com.thoughtworks.selenium.Seleniumpublic boolean getWhetherThisFrameMatchFrameExpression(String currentFrameString, String target)
getWhetherThisFrameMatchFrameExpression in interface com.thoughtworks.selenium.Seleniumpublic boolean getWhetherThisWindowMatchWindowExpression(String currentWindowString, String target)
getWhetherThisWindowMatchWindowExpression in interface com.thoughtworks.selenium.Seleniumpublic void waitForPopUp(String windowID, String timeout)
waitForPopUp in interface com.thoughtworks.selenium.Seleniumpublic void chooseCancelOnNextConfirmation()
chooseCancelOnNextConfirmation in interface com.thoughtworks.selenium.Seleniumpublic void chooseOkOnNextConfirmation()
chooseOkOnNextConfirmation in interface com.thoughtworks.selenium.Seleniumpublic void answerOnNextPrompt(String answer)
answerOnNextPrompt in interface com.thoughtworks.selenium.Seleniumpublic void goBack()
goBack in interface com.thoughtworks.selenium.Seleniumpublic void refresh()
refresh in interface com.thoughtworks.selenium.Seleniumpublic void close()
close in interface com.thoughtworks.selenium.Seleniumpublic boolean isAlertPresent()
isAlertPresent in interface com.thoughtworks.selenium.Seleniumpublic boolean isPromptPresent()
isPromptPresent in interface com.thoughtworks.selenium.Seleniumpublic boolean isConfirmationPresent()
isConfirmationPresent in interface com.thoughtworks.selenium.Seleniumpublic String getAlert()
getAlert in interface com.thoughtworks.selenium.Seleniumpublic String getConfirmation()
getConfirmation in interface com.thoughtworks.selenium.Seleniumpublic String getPrompt()
getPrompt in interface com.thoughtworks.selenium.Seleniumpublic String getLocation()
getLocation in interface com.thoughtworks.selenium.Seleniumpublic String getTitle()
getTitle in interface com.thoughtworks.selenium.Seleniumpublic String getBodyText()
getBodyText in interface com.thoughtworks.selenium.Seleniumpublic String getValue(String locator)
getValue in interface com.thoughtworks.selenium.Seleniumpublic String getText(String locator)
getText in interface com.thoughtworks.selenium.Seleniumpublic void highlight(String locator)
highlight in interface com.thoughtworks.selenium.Seleniumpublic String getEval(String script)
getEval in interface com.thoughtworks.selenium.Seleniumpublic boolean isChecked(String locator)
isChecked in interface com.thoughtworks.selenium.Seleniumpublic String getTable(String tableCellAddress)
getTable in interface com.thoughtworks.selenium.Seleniumpublic String[] getSelectedLabels(String selectLocator)
getSelectedLabels in interface com.thoughtworks.selenium.Seleniumpublic String getSelectedLabel(String selectLocator)
getSelectedLabel in interface com.thoughtworks.selenium.Seleniumpublic String[] getSelectedValues(String selectLocator)
getSelectedValues in interface com.thoughtworks.selenium.Seleniumpublic String getSelectedValue(String selectLocator)
getSelectedValue in interface com.thoughtworks.selenium.Seleniumpublic String[] getSelectedIndexes(String selectLocator)
getSelectedIndexes in interface com.thoughtworks.selenium.Seleniumpublic String getSelectedIndex(String selectLocator)
getSelectedIndex in interface com.thoughtworks.selenium.Seleniumpublic String[] getSelectedIds(String selectLocator)
getSelectedIds in interface com.thoughtworks.selenium.Seleniumpublic String getSelectedId(String selectLocator)
getSelectedId in interface com.thoughtworks.selenium.Seleniumpublic boolean isSomethingSelected(String selectLocator)
isSomethingSelected in interface com.thoughtworks.selenium.Seleniumpublic String[] getSelectOptions(String selectLocator)
getSelectOptions in interface com.thoughtworks.selenium.Seleniumpublic String getAttribute(String attributeLocator)
getAttribute in interface com.thoughtworks.selenium.Seleniumpublic boolean isTextPresent(String pattern)
isTextPresent in interface com.thoughtworks.selenium.Seleniumpublic boolean isElementPresent(String locator)
isElementPresent in interface com.thoughtworks.selenium.Seleniumpublic boolean isVisible(String locator)
isVisible in interface com.thoughtworks.selenium.Seleniumpublic boolean isEditable(String locator)
isEditable in interface com.thoughtworks.selenium.Seleniumpublic String[] getAllButtons()
getAllButtons in interface com.thoughtworks.selenium.Seleniumpublic String[] getAllLinks()
getAllLinks in interface com.thoughtworks.selenium.Seleniumpublic String[] getAllFields()
getAllFields in interface com.thoughtworks.selenium.Seleniumpublic String[] getAttributeFromAllWindows(String attributeName)
getAttributeFromAllWindows in interface com.thoughtworks.selenium.Seleniumpublic void dragdrop(String locator, String movementsString)
dragdrop in interface com.thoughtworks.selenium.Seleniumpublic void setMouseSpeed(String pixels)
setMouseSpeed in interface com.thoughtworks.selenium.Seleniumpublic Number getMouseSpeed()
getMouseSpeed in interface com.thoughtworks.selenium.Seleniumpublic void dragAndDrop(String locator, String movementsString)
dragAndDrop in interface com.thoughtworks.selenium.Seleniumpublic void dragAndDropToObject(String locatorOfObjectToBeDragged, String locatorOfDragDestinationObject)
dragAndDropToObject in interface com.thoughtworks.selenium.Seleniumpublic void windowFocus()
windowFocus in interface com.thoughtworks.selenium.Seleniumpublic void windowMaximize()
windowMaximize in interface com.thoughtworks.selenium.Seleniumpublic String[] getAllWindowIds()
getAllWindowIds in interface com.thoughtworks.selenium.Seleniumpublic String[] getAllWindowNames()
getAllWindowNames in interface com.thoughtworks.selenium.Seleniumpublic String[] getAllWindowTitles()
getAllWindowTitles in interface com.thoughtworks.selenium.Seleniumpublic String getHtmlSource()
getHtmlSource in interface com.thoughtworks.selenium.Seleniumpublic void setCursorPosition(String locator, String position)
setCursorPosition in interface com.thoughtworks.selenium.Seleniumpublic Number getElementIndex(String locator)
getElementIndex in interface com.thoughtworks.selenium.Seleniumpublic boolean isOrdered(String locator1, String locator2)
isOrdered in interface com.thoughtworks.selenium.Seleniumpublic Number getElementPositionLeft(String locator)
getElementPositionLeft in interface com.thoughtworks.selenium.Seleniumpublic Number getElementPositionTop(String locator)
getElementPositionTop in interface com.thoughtworks.selenium.Seleniumpublic Number getElementWidth(String locator)
getElementWidth in interface com.thoughtworks.selenium.Seleniumpublic Number getElementHeight(String locator)
getElementHeight in interface com.thoughtworks.selenium.Seleniumpublic Number getCursorPosition(String locator)
getCursorPosition in interface com.thoughtworks.selenium.Seleniumpublic String getExpression(String expression)
getExpression in interface com.thoughtworks.selenium.Seleniumpublic Number getXpathCount(String xpath)
getXpathCount in interface com.thoughtworks.selenium.Seleniumpublic Number getCssCount(String css)
getCssCount in interface com.thoughtworks.selenium.Seleniumpublic void assignId(String locator, String identifier)
assignId in interface com.thoughtworks.selenium.Seleniumpublic void allowNativeXpath(String allow)
allowNativeXpath in interface com.thoughtworks.selenium.Seleniumpublic void ignoreAttributesWithoutValue(String ignore)
ignoreAttributesWithoutValue in interface com.thoughtworks.selenium.Seleniumpublic void waitForCondition(String script, String timeout)
waitForCondition in interface com.thoughtworks.selenium.Seleniumpublic void setTimeout(String timeout)
setTimeout in interface com.thoughtworks.selenium.Seleniumpublic void waitForPageToLoad(String timeout)
waitForPageToLoad in interface com.thoughtworks.selenium.Seleniumpublic void waitForFrameToLoad(String frameAddress, String timeout)
waitForFrameToLoad in interface com.thoughtworks.selenium.Seleniumpublic String getCookie()
getCookie in interface com.thoughtworks.selenium.Seleniumpublic String getCookieByName(String name)
getCookieByName in interface com.thoughtworks.selenium.Seleniumpublic boolean isCookiePresent(String name)
isCookiePresent in interface com.thoughtworks.selenium.Seleniumpublic void createCookie(String nameValuePair, String optionsString)
createCookie in interface com.thoughtworks.selenium.Seleniumpublic void deleteCookie(String name, String optionsString)
deleteCookie in interface com.thoughtworks.selenium.Seleniumpublic void deleteAllVisibleCookies()
deleteAllVisibleCookies in interface com.thoughtworks.selenium.Seleniumpublic void setBrowserLogLevel(String logLevel)
setBrowserLogLevel in interface com.thoughtworks.selenium.Seleniumpublic void runScript(String script)
runScript in interface com.thoughtworks.selenium.Seleniumpublic void addLocationStrategy(String strategyName, String functionDefinition)
addLocationStrategy in interface com.thoughtworks.selenium.Seleniumpublic void captureEntirePageScreenshot(String filename, String kwargs)
captureEntirePageScreenshot in interface com.thoughtworks.selenium.Seleniumpublic void rollup(String rollupName, String kwargs)
rollup in interface com.thoughtworks.selenium.Seleniumpublic void addScript(String scriptContent, String scriptTagId)
addScript in interface com.thoughtworks.selenium.Seleniumpublic void removeScript(String scriptTagId)
removeScript in interface com.thoughtworks.selenium.Seleniumpublic void useXpathLibrary(String libraryName)
useXpathLibrary in interface com.thoughtworks.selenium.Seleniumpublic void setContext(String context)
setContext in interface com.thoughtworks.selenium.Seleniumpublic void attachFile(String fieldLocator, String fileLocator)
attachFile in interface com.thoughtworks.selenium.Seleniumpublic void captureScreenshot(String filename)
captureScreenshot in interface com.thoughtworks.selenium.Seleniumpublic String captureScreenshotToString()
captureScreenshotToString in interface com.thoughtworks.selenium.Seleniumpublic String captureNetworkTraffic(String type)
captureNetworkTraffic in interface com.thoughtworks.selenium.Seleniumpublic void addCustomRequestHeader(String key, String value)
addCustomRequestHeader in interface com.thoughtworks.selenium.Seleniumpublic String captureEntirePageScreenshotToString(String kwargs)
captureEntirePageScreenshotToString in interface com.thoughtworks.selenium.Seleniumpublic void shutDownSeleniumServer()
shutDownSeleniumServer in interface com.thoughtworks.selenium.Seleniumpublic String retrieveLastRemoteControlLogs()
retrieveLastRemoteControlLogs in interface com.thoughtworks.selenium.Seleniumpublic void keyDownNative(String keycode)
keyDownNative in interface com.thoughtworks.selenium.Seleniumpublic void keyUpNative(String keycode)
keyUpNative in interface com.thoughtworks.selenium.Seleniumpublic void keyPressNative(String keycode)
keyPressNative in interface com.thoughtworks.selenium.SeleniumCopyright © 2015. All rights reserved.