public class GrapheneSeleniumImpl extends ExtendedTypedSeleniumImpl implements GrapheneSelenium, AjaxSelenium, GrapheneInitializator
Implementation of TypedSelenium extended by methods in ExtendedTypedSeleniumImpl.
Internally using AjaxAwareInterceptor and CommandInterceptorProxyImpl.
| Constructor and Description |
|---|
GrapheneSeleniumImpl(String serverHost,
int serverPort,
Browser browser,
URL contextPathURL)
Instantiates a new ajax selenium.
|
| Modifier and Type | Method and Description |
|---|---|
GrapheneSelenium |
clone() |
void |
configureBrowser()
Configures browser from users configuration
|
void |
finalizeBrowser()
Cleans browser window (by closing window or deleting all cookies)
|
CommandInterceptorProxy |
getCommandInterceptionProxy() |
protected static List<String> |
getExtensionsListFromResource(String resourceName)
Loads the list of resource names from the given resource.
|
PageExtensions |
getPageExtensions() |
RequestGuard |
getRequestGuard() |
SeleniumExtensions |
getSeleniumExtensions() |
void |
initializeBrowser()
Initializes browser session and prepares it for further configuration
|
void |
initializePageExtensions()
Initializes Graphene extentensions for application page
|
void |
initializeSeleniumExtensions()
Initializes Graphene extentensions for Selenium
|
protected void |
loadCustomLocationStrategies() |
void |
restartBrowser() |
belongsClass, check, doCommand, getCount, getExtendedSelenium, getStyle, isAttributePresent, isStarted, mouseOutAt, mouseOverAt, scrollIntoView, start, stopaddCustomRequestHeader, addLocationStrategy, addScript, addSelection, allowNativeXpath, altKeyDown, altKeyUp, answerOnNextPrompt, assignId, attachFile, attachFile, captureEntirePageScreenshot, captureEntirePageScreenshot, captureNetworkTraffic, captureScreenshot, captureScreenshot, check, chooseCancelOnNextConfirmation, chooseOkOnNextConfirmation, click, clickAt, close, containsScript, contextMenu, contextMenuAt, controlKeyDown, controlKeyUp, createCookie, createCookie, deleteAllVisibleCookies, deleteCookie, deselectPopUp, doubleClick, doubleClickAt, dragAndDrop, dragAndDropToObject, fireEvent, focus, getAlert, getAllButtons, getAllCookies, getAllFields, getAllLinks, getAllWindowIds, getAllWindowNames, getAllWindowTitles, getAttribute, getAttribute, getAttributeFromAllWindows, getBodyText, getConfirmation, getCookieByName, getCursorPosition, getElementDimension, getElementHeight, getElementIndex, getElementPosition, getElementPositionLeft, getElementPositionTop, getElementWidth, getEval, getExpression, getHtmlSource, getLocation, getMouseSpeed, getPrompt, getSelectedId, getSelectedIds, getSelectedIndex, getSelectedIndexes, getSelectedLabel, getSelectedLabels, getSelectedValue, getSelectedValues, getSelectOptions, getSpeed, getText, getTitle, getValue, getWhetherThisFrameMatchFrameExpression, getWhetherThisWindowMatchWindowExpression, goBack, highlight, ignoreAttributesWithoutValue, isAlertPresent, isChecked, isConfirmationPresent, isCookiePresent, isEditable, isElementPresent, isOrdered, isPromptPresent, isSomethingSelected, isTextPresent, isVisible, keyDown, keyDown, keyDownNative, keyPress, keyPress, keyPressNative, keyUp, keyUp, keyUpNative, logToBrowser, metaKeyDown, metaKeyUp, mouseDown, mouseDownAt, mouseDownRight, mouseDownRightAt, mouseMove, mouseMoveAt, mouseOut, mouseOver, mouseUp, mouseUpAt, mouseUpRight, mouseUpRightAt, open, openWindow, refresh, removeAllSelections, removeScript, removeSelection, retrieveLastRemoteControlLogs, runScript, select, selectFrame, selectPopUp, selectWindow, setBrowserLogLevel, setCursorPosition, setExtensionJs, setMouseSpeed, setSpeed, setTimeout, shiftKeyDown, shiftKeyUp, shutDownSeleniumServer, submit, type, typeKeys, uncheck, useXpathLibrary, waitForCondition, waitForCondition, waitForFrameToLoad, waitForFrameToLoad, waitForPageToLoad, waitForPageToLoad, waitForPopUp, windowFocus, windowMaximizeequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbelongsClass, check, doCommand, getCount, getStyle, isAttributePresent, isStarted, mouseOutAt, mouseOverAt, scrollIntoViewaddCustomRequestHeader, addLocationStrategy, addScript, addSelection, allowNativeXpath, altKeyDown, altKeyUp, answerOnNextPrompt, assignId, captureEntirePageScreenshot, captureNetworkTraffic, captureScreenshot, check, chooseCancelOnNextConfirmation, chooseOkOnNextConfirmation, click, clickAt, close, containsScript, contextMenu, contextMenuAt, controlKeyDown, controlKeyUp, createCookie, createCookie, deleteAllVisibleCookies, deleteCookie, deselectPopUp, doubleClick, doubleClickAt, dragAndDrop, dragAndDropToObject, fireEvent, focus, getAlert, getAllCookies, getAllWindowIds, getAttribute, getAttribute, getBodyText, getConfirmation, getCookieByName, getCursorPosition, getElementDimension, getElementHeight, getElementIndex, getElementPosition, getElementPositionLeft, getElementPositionTop, getElementWidth, getEval, getHtmlSource, getLocation, getMouseSpeed, getPrompt, getSelectedId, getSelectedIds, getSelectedIndex, getSelectedIndexes, getSelectedLabel, getSelectedLabels, getSelectedValue, getSelectedValues, getSelectOptions, getSpeed, getText, getTitle, getValue, goBack, highlight, ignoreAttributesWithoutValue, isAlertPresent, isChecked, isConfirmationPresent, isCookiePresent, isEditable, isElementPresent, isOrdered, isPromptPresent, isSomethingSelected, isTextPresent, isVisible, keyDown, keyDown, keyDownNative, keyPress, keyPress, keyPressNative, keyUp, keyUp, keyUpNative, logToBrowser, metaKeyDown, metaKeyUp, mouseDown, mouseDownAt, mouseDownRight, mouseDownRightAt, mouseMove, mouseMoveAt, mouseOut, mouseOver, mouseUp, mouseUpAt, mouseUpRight, mouseUpRightAt, open, openWindow, refresh, removeAllSelections, removeScript, removeSelection, retrieveLastRemoteControlLogs, runScript, select, selectFrame, selectPopUp, selectWindow, setBrowserLogLevel, setCursorPosition, setMouseSpeed, setSpeed, setTimeout, shiftKeyDown, shiftKeyUp, shutDownSeleniumServer, start, stop, submit, type, typeKeys, uncheck, useXpathLibrary, waitForCondition, waitForCondition, waitForFrameToLoad, waitForFrameToLoad, waitForPageToLoad, waitForPageToLoad, waitForPopUp, windowFocus, windowMaximizepublic PageExtensions getPageExtensions()
getPageExtensions in interface GrapheneSeleniumpublic SeleniumExtensions getSeleniumExtensions()
getSeleniumExtensions in interface GrapheneSeleniumpublic RequestGuard getRequestGuard()
getRequestGuard in interface GrapheneSeleniumpublic CommandInterceptorProxy getCommandInterceptionProxy()
getCommandInterceptionProxy in interface GrapheneSeleniumpublic GrapheneSelenium clone()
clone in interface GrapheneSeleniumclone in class Objectpublic void initializeBrowser()
GrapheneInitializatorinitializeBrowser in interface GrapheneInitializatorpublic void configureBrowser()
GrapheneInitializatorconfigureBrowser in interface GrapheneInitializatorpublic void initializeSeleniumExtensions()
GrapheneInitializatorinitializeSeleniumExtensions in interface GrapheneInitializatorpublic void initializePageExtensions()
GrapheneInitializatorinitializePageExtensions in interface GrapheneInitializatorpublic void finalizeBrowser()
GrapheneInitializatorfinalizeBrowser in interface GrapheneInitializatorpublic void restartBrowser()
restartBrowser in interface GrapheneSeleniumprotected void loadCustomLocationStrategies()
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.