|
Graphene Implementation 1.0.0.CR3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.arquillian.ajocado.framework.TypedSeleniumImpl
public class TypedSeleniumImpl
Wrapper implementation for Selenium object's API to make it type-safe.
Constructor Summary | |
---|---|
TypedSeleniumImpl()
|
Method Summary | |
---|---|
void |
addCustomRequestHeader(RequestHeader header)
|
void |
addLocationStrategy(ElementLocationStrategy locationStrategy,
JavaScript strategyDefinition)
|
void |
addScript(JavaScript javaScript)
|
void |
addSelection(ElementLocator<?> elementLocator,
OptionLocator<?> optionLocator)
|
void |
allowNativeXpath(boolean allow)
|
void |
altKeyDown()
|
void |
altKeyUp()
|
void |
answerOnNextPrompt(String answer)
|
IdLocator |
assignId(ElementLocator<?> elementLocator,
String identifier)
|
void |
attachFile(ElementLocator<?> fieldLocator,
File fileLocator)
Sets a file input (upload) field to the file listed in fileLocator |
void |
attachFile(ElementLocator<?> fieldLocator,
URL fileLocator)
Sets a file input (upload) field to the file listed in fileLocator |
BufferedImage |
captureEntirePageScreenshot()
|
void |
captureEntirePageScreenshot(File filename)
Saves the entire contents of the current window canvas to a PNG file. |
NetworkTraffic |
captureNetworkTraffic(NetworkTrafficType type)
|
BufferedImage |
captureScreenshot()
|
void |
captureScreenshot(File filename)
Captures a PNG screenshot to the specified file. |
void |
check(ElementLocator<?> elementLocator)
|
void |
chooseCancelOnNextConfirmation()
|
void |
chooseOkOnNextConfirmation()
|
void |
click(ElementLocator<?> elementLocator)
|
void |
clickAt(ElementLocator<?> elementLocator,
Point point)
|
void |
close()
|
boolean |
containsScript(JavaScript javaScript)
|
void |
contextMenu(ElementLocator<?> elementLocator)
|
void |
contextMenuAt(ElementLocator<?> elementLocator,
Point point)
|
void |
controlKeyDown()
|
void |
controlKeyUp()
|
CookieCreateOptions |
createCookie(Cookie cookie)
|
void |
createCookie(Cookie cookie,
CookieCreateOptions options)
|
void |
deleteAllVisibleCookies()
|
void |
deleteCookie(String cookieName,
CookieDeleteOptions options)
|
void |
deselectPopUp()
|
void |
doubleClick(ElementLocator<?> elementLocator)
|
void |
doubleClickAt(ElementLocator<?> elementLocator,
Point point)
|
void |
dragAndDrop(ElementLocator<?> elementLocator,
Offset offset)
|
void |
dragAndDropToObject(ElementLocator<?> elementLocatorOfObjectToBeDragged,
ElementLocator<?> elementLocatorOfDragDestinationObject)
|
void |
fireEvent(ElementLocator<?> elementLocator,
Event event)
|
void |
focus(ElementLocator<?> elementLocator)
|
String |
getAlert()
|
List<ElementLocator<?>> |
getAllButtons()
Returns the IDs of all buttons on the page. |
Set<Cookie> |
getAllCookies()
|
List<ElementLocator<?>> |
getAllFields()
Returns the IDs of all input fields on the page. |
List<ElementLocator<?>> |
getAllLinks()
Returns the IDs of all links on the page. |
List<WindowNameLocator> |
getAllWindowIds()
|
List<String> |
getAllWindowNames()
Returns the names of all windows that the browser knows about. |
List<String> |
getAllWindowTitles()
Returns the titles of all windows that the browser knows about. |
String |
getAttribute(AttributeLocator<?> attributeLocator)
|
String |
getAttribute(ElementLocator<?> elementLocator,
Attribute attribute)
|
List<String> |
getAttributeFromAllWindows(Attribute attribute)
Returns every instance of some attribute from all known windows. |
String |
getBodyText()
|
String |
getConfirmation()
|
Cookie |
getCookieByName(String cookieName)
|
int |
getCount(IterableLocator<?> locator)
|
int |
getCursorPosition(ElementLocator<?> elementLocator)
|
Dimension |
getElementDimension(ElementLocator<?> elementLocator)
|
int |
getElementHeight(ElementLocator<?> elementLocator)
|
int |
getElementIndex(ElementLocator<?> elementLocator)
|
Point |
getElementPosition(ElementLocator<?> elementLocator)
|
int |
getElementPositionLeft(ElementLocator<?> elementLocator)
|
int |
getElementPositionTop(ElementLocator<?> elementLocator)
|
int |
getElementWidth(ElementLocator<?> elementLocator)
|
String |
getEval(JavaScript script)
|
JavaScript |
getExpression(JavaScript expression)
Returns the specified expression. |
String |
getHtmlSource()
|
URL |
getLocation()
|
int |
getMouseSpeed()
|
String |
getPrompt()
|
String |
getSelectedId(ElementLocator<?> selectLocator)
|
List<String> |
getSelectedIds(ElementLocator<?> selectLocator)
|
int |
getSelectedIndex(ElementLocator<?> selectLocator)
|
List<Integer> |
getSelectedIndexes(ElementLocator<?> selectLocator)
|
String |
getSelectedLabel(ElementLocator<?> selectLocator)
|
List<String> |
getSelectedLabels(ElementLocator<?> selectLocator)
|
String |
getSelectedValue(ElementLocator<?> selectLocator)
|
List<String> |
getSelectedValues(ElementLocator<?> selectLocator)
|
List<String> |
getSelectOptions(ElementLocator<?> selectLocator)
|
long |
getSpeed()
|
String |
getText(ElementLocator<?> elementLocator)
|
String |
getTitle()
|
String |
getValue(ElementLocator<?> elementLocator)
|
boolean |
getWhetherThisFrameMatchFrameExpression(String currentFrameString,
String target)
Determine whether current/locator identify the frame containing this running code. |
boolean |
getWhetherThisWindowMatchWindowExpression(String currentWindowString,
String target)
Determine whether currentWindowString plus target identify the window containing this running code. |
void |
goBack()
|
void |
highlight(ElementLocator<?> elementLocator)
|
void |
ignoreAttributesWithoutValue(boolean ignore)
|
boolean |
isAlertPresent()
|
boolean |
isChecked(ElementLocator<?> elementLocator)
|
boolean |
isConfirmationPresent()
|
boolean |
isCookiePresent(String cookieName)
|
boolean |
isEditable(ElementLocator<?> elementLocator)
|
boolean |
isElementPresent(ElementLocator<?> elementLocator)
|
boolean |
isOrdered(ElementLocator<?> elementLocator1,
ElementLocator<?> elementLocator2)
|
boolean |
isPromptPresent()
|
boolean |
isSomethingSelected(ElementLocator<?> selectLocator)
|
boolean |
isTextPresent(String text)
|
boolean |
isVisible(ElementLocator<?> elementLocator)
|
void |
keyDown(ElementLocator<?> elementLocator,
char character)
|
void |
keyDown(ElementLocator<?> elementLocator,
KeyCode keyCode)
|
void |
keyDownNative(int keycode)
|
void |
keyPress(ElementLocator<?> elementLocator,
char character)
|
void |
keyPress(ElementLocator<?> elementLocator,
KeyCode keyCode)
|
void |
keyPressNative(int keycode)
|
void |
keyUp(ElementLocator<?> elementLocator,
char character)
|
void |
keyUp(ElementLocator<?> elementLocator,
KeyCode keyCode)
|
void |
keyUpNative(int keycode)
|
void |
logToBrowser(String textToLog)
|
void |
metaKeyDown()
|
void |
metaKeyUp()
|
void |
mouseDown(ElementLocator<?> elementLocator)
|
void |
mouseDownAt(ElementLocator<?> elementLocator,
Point point)
|
void |
mouseDownRight(ElementLocator<?> elementLocator)
|
void |
mouseDownRightAt(ElementLocator<?> elementLocator,
Point point)
|
void |
mouseMove(ElementLocator<?> elementLocator)
|
void |
mouseMoveAt(ElementLocator<?> elementLocator,
Point point)
|
void |
mouseOut(ElementLocator<?> elementLocator)
|
void |
mouseOver(ElementLocator<?> elementLocator)
|
void |
mouseUp(ElementLocator<?> elementLocator)
|
void |
mouseUpAt(ElementLocator<?> elementLocator,
Point point)
|
void |
mouseUpRight(ElementLocator<?> elementLocator)
|
void |
mouseUpRightAt(ElementLocator<?> elementLocator,
Point point)
|
void |
open(URL url)
|
void |
openWindow(URL url,
WindowNameLocator windowName)
|
void |
refresh()
|
void |
removeAllSelections(ElementLocator<?> elementLocator)
|
void |
removeScript(JavaScript javaScript)
|
void |
removeSelection(ElementLocator<?> elementLocator,
OptionLocator<?> optionLocator)
|
String |
retrieveLastRemoteControlLogs()
|
void |
runScript(JavaScript script)
|
void |
select(ElementLocator<?> selectLocator,
OptionLocator<?> optionLocator)
|
void |
selectFrame(FrameLocator<?> frameLocator)
|
void |
selectPopUp(WindowLocator<?> windowLocator)
|
void |
selectWindow(WindowLocator<?> windowLocator)
|
void |
setBrowserLogLevel(LogLevel logLevel)
|
void |
setCursorPosition(ElementLocator<?> elementLocator,
int position)
|
void |
setExtensionJs(JavaScript extensionJs)
Sets the per-session extension Javascript |
void |
setMouseSpeed(int pixels)
|
void |
setSpeed(long speedInMilis)
|
void |
setTimeout(long timeoutInMilis)
|
void |
shiftKeyDown()
|
void |
shiftKeyUp()
|
void |
shutDownSeleniumServer()
|
void |
start()
|
void |
stop()
|
void |
submit(ElementLocator<?> formLocator)
|
void |
type(ElementLocator<?> elementLocator,
String value)
|
void |
typeKeys(ElementLocator<?> elementLocator,
String value)
|
void |
uncheck(ElementLocator<?> elementLocator)
|
void |
useXpathLibrary(XPathLibrary xPathLibrary)
|
void |
waitForCondition(JavaScript script)
|
void |
waitForCondition(JavaScript script,
long timeout)
|
void |
waitForFrameToLoad(URL frameURL)
|
void |
waitForFrameToLoad(URL frameURL,
long timeout)
|
void |
waitForPageToLoad()
|
void |
waitForPageToLoad(long timeout)
|
void |
waitForPopUp(WindowNameLocator windowNameLocator,
long timeoutInMilis)
|
void |
windowFocus()
|
void |
windowMaximize()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TypedSeleniumImpl()
Method Detail |
---|
public void addLocationStrategy(ElementLocationStrategy locationStrategy, JavaScript strategyDefinition)
addLocationStrategy
in interface TypedSelenium
public void addScript(JavaScript javaScript)
addScript
in interface TypedSelenium
public void addSelection(ElementLocator<?> elementLocator, OptionLocator<?> optionLocator)
addSelection
in interface TypedSelenium
public void allowNativeXpath(boolean allow)
allowNativeXpath
in interface TypedSelenium
public void altKeyDown()
altKeyDown
in interface TypedSelenium
public void altKeyUp()
altKeyUp
in interface TypedSelenium
public void answerOnNextPrompt(String answer)
answerOnNextPrompt
in interface TypedSelenium
public IdLocator assignId(ElementLocator<?> elementLocator, String identifier)
assignId
in interface TypedSelenium
public void attachFile(ElementLocator<?> fieldLocator, File fileLocator)
UnsupportedTypedSelenium
attachFile
in interface UnsupportedTypedSelenium
fieldLocator
- an element locatorfileLocator
- a URL pointing to the specified file. Before the file can be set in the input field (fieldLocator),
Selenium RC may need to transfer the file to the local machine before attaching the file in a web page
form. This is common in selenium grid configurations where the RC server driving the browser is not
the same machine that started the test. Supported Browsers: Firefox ("*chrome") only.public void attachFile(ElementLocator<?> fieldLocator, URL fileLocator)
UnsupportedTypedSelenium
attachFile
in interface UnsupportedTypedSelenium
fieldLocator
- an element locatorfileLocator
- a URL pointing to the specified file. Before the file can be set in the input field (fieldLocator),
Selenium RC may need to transfer the file to the local machine before attaching the file in a web page
form. This is common in selenium grid configurations where the RC server driving the browser is not
the same machine that started the test. Supported Browsers: Firefox ("*chrome") only.public void captureEntirePageScreenshot(File filename)
UnsupportedTypedSelenium
captureEntirePageScreenshot
in interface UnsupportedTypedSelenium
filename
- the path to the file to persist the screenshot as. No filename extension will be appended by default.
Directories will not be created if they do not exist, and an exception will be thrown, possibly by
native code.public BufferedImage captureEntirePageScreenshot()
captureEntirePageScreenshot
in interface TypedSelenium
public NetworkTraffic captureNetworkTraffic(NetworkTrafficType type)
captureNetworkTraffic
in interface TypedSelenium
public void captureScreenshot(File filename)
UnsupportedTypedSelenium
captureScreenshot
in interface UnsupportedTypedSelenium
filename
- the absolute path to the file to be written, e.g. "c:\blah\screenshot.png"public BufferedImage captureScreenshot()
captureScreenshot
in interface TypedSelenium
public void check(ElementLocator<?> elementLocator)
check
in interface TypedSelenium
public void chooseCancelOnNextConfirmation()
chooseCancelOnNextConfirmation
in interface TypedSelenium
public void chooseOkOnNextConfirmation()
chooseOkOnNextConfirmation
in interface TypedSelenium
public void click(ElementLocator<?> elementLocator)
click
in interface TypedSelenium
public void clickAt(ElementLocator<?> elementLocator, Point point)
clickAt
in interface TypedSelenium
public void close()
close
in interface TypedSelenium
public boolean containsScript(JavaScript javaScript)
containsScript
in interface TypedSelenium
public void contextMenu(ElementLocator<?> elementLocator)
contextMenu
in interface TypedSelenium
public void contextMenuAt(ElementLocator<?> elementLocator, Point point)
contextMenuAt
in interface TypedSelenium
public void controlKeyDown()
controlKeyDown
in interface TypedSelenium
public void controlKeyUp()
controlKeyUp
in interface TypedSelenium
public void deleteAllVisibleCookies()
deleteAllVisibleCookies
in interface TypedSelenium
public void deselectPopUp()
deselectPopUp
in interface TypedSelenium
public void doubleClick(ElementLocator<?> elementLocator)
doubleClick
in interface TypedSelenium
public void doubleClickAt(ElementLocator<?> elementLocator, Point point)
doubleClickAt
in interface TypedSelenium
public void dragAndDrop(ElementLocator<?> elementLocator, Offset offset)
dragAndDrop
in interface TypedSelenium
public void dragAndDropToObject(ElementLocator<?> elementLocatorOfObjectToBeDragged, ElementLocator<?> elementLocatorOfDragDestinationObject)
dragAndDropToObject
in interface TypedSelenium
public void fireEvent(ElementLocator<?> elementLocator, Event event)
fireEvent
in interface TypedSelenium
public void focus(ElementLocator<?> elementLocator)
focus
in interface TypedSelenium
public String getAlert()
getAlert
in interface TypedSelenium
public List<ElementLocator<?>> getAllButtons()
UnsupportedTypedSelenium
If a given button has no ID, it will appear as "" in this array.
getAllButtons
in interface UnsupportedTypedSelenium
public List<ElementLocator<?>> getAllFields()
UnsupportedTypedSelenium
If a given field has no ID, it will appear as "" in this array.
getAllFields
in interface UnsupportedTypedSelenium
public List<ElementLocator<?>> getAllLinks()
UnsupportedTypedSelenium
If a given link has no ID, it will appear as "" in this array.
getAllLinks
in interface UnsupportedTypedSelenium
public List<WindowNameLocator> getAllWindowIds()
getAllWindowIds
in interface TypedSelenium
public List<String> getAllWindowNames()
UnsupportedTypedSelenium
getAllWindowNames
in interface UnsupportedTypedSelenium
public List<String> getAllWindowTitles()
UnsupportedTypedSelenium
getAllWindowTitles
in interface UnsupportedTypedSelenium
public String getAttribute(AttributeLocator<?> attributeLocator)
getAttribute
in interface TypedSelenium
public String getAttribute(ElementLocator<?> elementLocator, Attribute attribute)
getAttribute
in interface TypedSelenium
public List<String> getAttributeFromAllWindows(Attribute attribute)
UnsupportedTypedSelenium
getAttributeFromAllWindows
in interface UnsupportedTypedSelenium
attribute
- name of an attribute on the windows
public String getBodyText()
getBodyText
in interface TypedSelenium
public String getConfirmation()
getConfirmation
in interface TypedSelenium
public int getCount(IterableLocator<?> locator)
getCount
in interface TypedSelenium
public int getCursorPosition(ElementLocator<?> elementLocator)
getCursorPosition
in interface TypedSelenium
public Dimension getElementDimension(ElementLocator<?> elementLocator)
getElementDimension
in interface TypedSelenium
public int getElementHeight(ElementLocator<?> elementLocator)
getElementHeight
in interface TypedSelenium
public int getElementIndex(ElementLocator<?> elementLocator)
getElementIndex
in interface TypedSelenium
public Point getElementPosition(ElementLocator<?> elementLocator)
getElementPosition
in interface TypedSelenium
public int getElementPositionLeft(ElementLocator<?> elementLocator)
getElementPositionLeft
in interface TypedSelenium
public int getElementPositionTop(ElementLocator<?> elementLocator)
getElementPositionTop
in interface TypedSelenium
public int getElementWidth(ElementLocator<?> elementLocator)
getElementWidth
in interface TypedSelenium
public String getEval(JavaScript script)
getEval
in interface TypedSelenium
public JavaScript getExpression(JavaScript expression)
UnsupportedTypedSelenium
This is useful because of JavaScript preprocessing. It is used to generate commands like assertExpression and waitForExpression.
getExpression
in interface UnsupportedTypedSelenium
expression
- the value to return
public String getHtmlSource()
getHtmlSource
in interface TypedSelenium
public URL getLocation()
getLocation
in interface TypedSelenium
public int getMouseSpeed()
getMouseSpeed
in interface TypedSelenium
public String getPrompt()
getPrompt
in interface TypedSelenium
public List<String> getSelectOptions(ElementLocator<?> selectLocator)
getSelectOptions
in interface TypedSelenium
public String getSelectedId(ElementLocator<?> selectLocator)
getSelectedId
in interface TypedSelenium
public List<String> getSelectedIds(ElementLocator<?> selectLocator)
getSelectedIds
in interface TypedSelenium
public int getSelectedIndex(ElementLocator<?> selectLocator)
getSelectedIndex
in interface TypedSelenium
public List<Integer> getSelectedIndexes(ElementLocator<?> selectLocator)
getSelectedIndexes
in interface TypedSelenium
public String getSelectedLabel(ElementLocator<?> selectLocator)
getSelectedLabel
in interface TypedSelenium
public List<String> getSelectedLabels(ElementLocator<?> selectLocator)
getSelectedLabels
in interface TypedSelenium
public String getSelectedValue(ElementLocator<?> selectLocator)
getSelectedValue
in interface TypedSelenium
public List<String> getSelectedValues(ElementLocator<?> selectLocator)
getSelectedValues
in interface TypedSelenium
public long getSpeed()
getSpeed
in interface TypedSelenium
public String getText(ElementLocator<?> elementLocator)
getText
in interface TypedSelenium
public String getTitle()
getTitle
in interface TypedSelenium
public String getValue(ElementLocator<?> elementLocator)
getValue
in interface TypedSelenium
public boolean getWhetherThisFrameMatchFrameExpression(String currentFrameString, String target)
UnsupportedTypedSelenium
This is useful in proxy injection mode, where this code runs in every browser frame and window, and sometimes the selenium server needs to identify the "current" frame. In this case, when the test calls selectFrame, this routine is called for each frame to figure out which one has been selected. The selected frame will return true, while all others will return false.
getWhetherThisFrameMatchFrameExpression
in interface UnsupportedTypedSelenium
currentFrameString
- starting frametarget
- new frame (which might be relative to the current one)
public boolean getWhetherThisWindowMatchWindowExpression(String currentWindowString, String target)
UnsupportedTypedSelenium
This is useful in proxy injection mode, where this code runs in every browser frame and window, and sometimes the selenium server needs to identify the "current" window. In this case, when the test calls selectWindow, this routine is called for each window to figure out which one has been selected. The selected window will return true, while all others will return false.
getWhetherThisWindowMatchWindowExpression
in interface UnsupportedTypedSelenium
currentWindowString
- starting windowtarget
- new window (which might be relative to the current one, e.g., "_parent")
public void goBack()
goBack
in interface TypedSelenium
public void highlight(ElementLocator<?> elementLocator)
highlight
in interface TypedSelenium
public void ignoreAttributesWithoutValue(boolean ignore)
ignoreAttributesWithoutValue
in interface TypedSelenium
public boolean isAlertPresent()
isAlertPresent
in interface TypedSelenium
public boolean isChecked(ElementLocator<?> elementLocator)
isChecked
in interface TypedSelenium
public boolean isConfirmationPresent()
isConfirmationPresent
in interface TypedSelenium
public boolean isEditable(ElementLocator<?> elementLocator)
isEditable
in interface TypedSelenium
public boolean isElementPresent(ElementLocator<?> elementLocator)
isElementPresent
in interface TypedSelenium
public boolean isOrdered(ElementLocator<?> elementLocator1, ElementLocator<?> elementLocator2)
isOrdered
in interface TypedSelenium
public boolean isPromptPresent()
isPromptPresent
in interface TypedSelenium
public boolean isSomethingSelected(ElementLocator<?> selectLocator)
isSomethingSelected
in interface TypedSelenium
public boolean isTextPresent(String text)
isTextPresent
in interface TypedSelenium
public boolean isVisible(ElementLocator<?> elementLocator)
isVisible
in interface TypedSelenium
public void keyDown(ElementLocator<?> elementLocator, char character)
keyDown
in interface TypedSelenium
public void keyDown(ElementLocator<?> elementLocator, KeyCode keyCode)
keyDown
in interface TypedSelenium
public void keyDownNative(int keycode)
keyDownNative
in interface TypedSelenium
public void keyPress(ElementLocator<?> elementLocator, char character)
keyPress
in interface TypedSelenium
public void keyPress(ElementLocator<?> elementLocator, KeyCode keyCode)
keyPress
in interface TypedSelenium
public void keyPressNative(int keycode)
keyPressNative
in interface TypedSelenium
public void keyUp(ElementLocator<?> elementLocator, char character)
keyUp
in interface TypedSelenium
public void keyUp(ElementLocator<?> elementLocator, KeyCode keyCode)
keyUp
in interface TypedSelenium
public void keyUpNative(int keycode)
keyUpNative
in interface TypedSelenium
public void logToBrowser(String textToLog)
logToBrowser
in interface TypedSelenium
public void metaKeyDown()
metaKeyDown
in interface TypedSelenium
public void metaKeyUp()
metaKeyUp
in interface TypedSelenium
public void mouseDown(ElementLocator<?> elementLocator)
mouseDown
in interface TypedSelenium
public void mouseDownAt(ElementLocator<?> elementLocator, Point point)
mouseDownAt
in interface TypedSelenium
public void mouseDownRight(ElementLocator<?> elementLocator)
mouseDownRight
in interface TypedSelenium
public void mouseDownRightAt(ElementLocator<?> elementLocator, Point point)
mouseDownRightAt
in interface TypedSelenium
public void mouseMove(ElementLocator<?> elementLocator)
mouseMove
in interface TypedSelenium
public void mouseMoveAt(ElementLocator<?> elementLocator, Point point)
mouseMoveAt
in interface TypedSelenium
public void mouseOut(ElementLocator<?> elementLocator)
mouseOut
in interface TypedSelenium
public void mouseOver(ElementLocator<?> elementLocator)
mouseOver
in interface TypedSelenium
public void mouseUp(ElementLocator<?> elementLocator)
mouseUp
in interface TypedSelenium
public void mouseUpAt(ElementLocator<?> elementLocator, Point point)
mouseUpAt
in interface TypedSelenium
public void mouseUpRight(ElementLocator<?> elementLocator)
mouseUpRight
in interface TypedSelenium
public void mouseUpRightAt(ElementLocator<?> elementLocator, Point point)
mouseUpRightAt
in interface TypedSelenium
public void open(URL url)
open
in interface TypedSelenium
public void openWindow(URL url, WindowNameLocator windowName)
openWindow
in interface TypedSelenium
public void refresh()
refresh
in interface TypedSelenium
public void removeAllSelections(ElementLocator<?> elementLocator)
removeAllSelections
in interface TypedSelenium
public void removeScript(JavaScript javaScript)
removeScript
in interface TypedSelenium
public void removeSelection(ElementLocator<?> elementLocator, OptionLocator<?> optionLocator)
removeSelection
in interface TypedSelenium
public String retrieveLastRemoteControlLogs()
retrieveLastRemoteControlLogs
in interface TypedSelenium
public void runScript(JavaScript script)
runScript
in interface TypedSelenium
public void select(ElementLocator<?> selectLocator, OptionLocator<?> optionLocator)
select
in interface TypedSelenium
public void selectFrame(FrameLocator<?> frameLocator)
selectFrame
in interface TypedSelenium
public void selectPopUp(WindowLocator<?> windowLocator)
selectPopUp
in interface TypedSelenium
public void selectWindow(WindowLocator<?> windowLocator)
selectWindow
in interface TypedSelenium
public void setBrowserLogLevel(LogLevel logLevel)
setBrowserLogLevel
in interface TypedSelenium
public void setCursorPosition(ElementLocator<?> elementLocator, int position)
setCursorPosition
in interface TypedSelenium
public void setExtensionJs(JavaScript extensionJs)
UnsupportedTypedSelenium
setExtensionJs
in interface UnsupportedTypedSelenium
public void setMouseSpeed(int pixels)
setMouseSpeed
in interface TypedSelenium
public void setSpeed(long speedInMilis)
setSpeed
in interface TypedSelenium
public void setTimeout(long timeoutInMilis)
setTimeout
in interface TypedSelenium
public void shiftKeyDown()
shiftKeyDown
in interface TypedSelenium
public void shiftKeyUp()
shiftKeyUp
in interface TypedSelenium
public void shutDownSeleniumServer()
shutDownSeleniumServer
in interface TypedSelenium
public void start()
start
in interface TypedSelenium
public void stop()
stop
in interface TypedSelenium
public void submit(ElementLocator<?> formLocator)
submit
in interface TypedSelenium
public void type(ElementLocator<?> elementLocator, String value)
type
in interface TypedSelenium
public void typeKeys(ElementLocator<?> elementLocator, String value)
typeKeys
in interface TypedSelenium
public void uncheck(ElementLocator<?> elementLocator)
uncheck
in interface TypedSelenium
public void useXpathLibrary(XPathLibrary xPathLibrary)
useXpathLibrary
in interface TypedSelenium
public void waitForCondition(JavaScript script)
waitForCondition
in interface TypedSelenium
public void waitForCondition(JavaScript script, long timeout)
waitForCondition
in interface TypedSelenium
public void waitForFrameToLoad(URL frameURL)
waitForFrameToLoad
in interface TypedSelenium
public void waitForFrameToLoad(URL frameURL, long timeout)
waitForFrameToLoad
in interface TypedSelenium
public void waitForPageToLoad()
waitForPageToLoad
in interface TypedSelenium
public void waitForPageToLoad(long timeout)
waitForPageToLoad
in interface TypedSelenium
public void waitForPopUp(WindowNameLocator windowNameLocator, long timeoutInMilis)
waitForPopUp
in interface TypedSelenium
public void windowFocus()
windowFocus
in interface TypedSelenium
public void windowMaximize()
windowMaximize
in interface TypedSelenium
public Set<Cookie> getAllCookies()
getAllCookies
in interface TypedSelenium
public Cookie getCookieByName(String cookieName)
getCookieByName
in interface TypedSelenium
public boolean isCookiePresent(String cookieName)
isCookiePresent
in interface TypedSelenium
public CookieCreateOptions createCookie(Cookie cookie)
createCookie
in interface TypedSelenium
public void createCookie(Cookie cookie, CookieCreateOptions options)
createCookie
in interface TypedSelenium
public void deleteCookie(String cookieName, CookieDeleteOptions options)
deleteCookie
in interface TypedSelenium
public void addCustomRequestHeader(RequestHeader header)
addCustomRequestHeader
in interface TypedSelenium
|
Graphene Implementation 1.0.0.CR3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |