Ajocado Implementation 1.0.0.Alpha2

org.jboss.arquillian.ajocado.framework
Class AjaxSeleniumImpl

java.lang.Object
  extended by org.jboss.arquillian.ajocado.framework.TypedSeleniumImpl
      extended by org.jboss.arquillian.ajocado.framework.ExtendedTypedSeleniumImpl
          extended by org.jboss.arquillian.ajocado.framework.AjaxSeleniumImpl
All Implemented Interfaces:
Cloneable, AjaxSelenium, ExtendedTypedSelenium, UnsupportedTypedSelenium, TypedSelenium

public class AjaxSeleniumImpl
extends ExtendedTypedSeleniumImpl
implements AjaxSelenium

Implementation of TypedSelenium extended by methods in ExtendedTypedSeleniumImpl.

Internally using AjaxAwareInterceptor and InterceptionProxyImpl.

Version:
$Revision$
Author:
Lukas Fryc

Constructor Summary
AjaxSeleniumImpl(String serverHost, int serverPort, Browser browser, URL contextPathURL)
          Instantiates a new ajax selenium.
 
Method Summary
 AjaxSelenium clone()
           
 InterceptionProxy getInterceptionProxy()
           
 PageExtensions getPageExtensions()
           
 RequestInterceptor getRequestInterceptor()
           
 SeleniumExtensions getSeleniumExtensions()
           
 
Methods inherited from class org.jboss.arquillian.ajocado.framework.ExtendedTypedSeleniumImpl
belongsClass, check, doCommand, enableNetworkTrafficCapturing, getCount, getExtendedSelenium, getStyle, getStyle, isAttributePresent, isDisplayed, isNetworkTrafficCapturingEnabled, isStarted, mouseOutAt, mouseOverAt, scrollIntoView, start, stop
 
Methods inherited from class org.jboss.arquillian.ajocado.framework.TypedSeleniumImpl
addCustomRequestHeader, 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, dragdrop, fireEvent, focus, getAlert, getAllButtons, getAllCookies, getAllFields, getAllLinks, getAllWindowIds, getAllWindowNames, getAllWindowTitles, 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, keyDownNative, keyPress, keyPressNative, 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, windowMaximize
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.arquillian.ajocado.framework.ExtendedTypedSelenium
belongsClass, check, doCommand, enableNetworkTrafficCapturing, getCount, getStyle, getStyle, isAttributePresent, isDisplayed, isNetworkTrafficCapturingEnabled, isStarted, mouseOutAt, mouseOverAt, scrollIntoView
 
Methods inherited from interface org.jboss.arquillian.ajocado.framework.TypedSelenium
addCustomRequestHeader, 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, dragdrop, fireEvent, focus, getAlert, getAllCookies, 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, keyDownNative, keyPress, keyPressNative, keyUp, keyUpNative, logToBrowser, metaKeyDown, metaKeyUp, mouseDown, mouseDownAt, mouseDownRight, mouseDownRightAt, mouseMove, mouseMoveAt, mouseOut, mouseOver, mouseUp, mouseUpAt, mouseUpRight, mouseUpRightAt, open, refresh, removeAllSelections, removeScript, removeSelection, retrieveLastRemoteControlLogs, runScript, select, selectFrame, setBrowserLogLevel, setCursorPosition, setMouseSpeed, setSpeed, setTimeout, shiftKeyDown, shiftKeyUp, shutDownSeleniumServer, start, stop, submit, type, typeKeys, uncheck, useXpathLibrary, waitForCondition, waitForCondition, waitForFrameToLoad, waitForFrameToLoad, waitForPageToLoad, waitForPageToLoad, windowFocus, windowMaximize
 

Constructor Detail

AjaxSeleniumImpl

public AjaxSeleniumImpl(String serverHost,
                        int serverPort,
                        Browser browser,
                        URL contextPathURL)
Instantiates a new ajax selenium.

Parameters:
serverHost - the server host
serverPort - the server port
browser - the browser
contextPathURL - the context path url
Method Detail

getPageExtensions

public PageExtensions getPageExtensions()
Specified by:
getPageExtensions in interface AjaxSelenium

getSeleniumExtensions

public SeleniumExtensions getSeleniumExtensions()
Specified by:
getSeleniumExtensions in interface AjaxSelenium

getRequestInterceptor

public RequestInterceptor getRequestInterceptor()
Specified by:
getRequestInterceptor in interface AjaxSelenium

getInterceptionProxy

public InterceptionProxy getInterceptionProxy()
Specified by:
getInterceptionProxy in interface AjaxSelenium

clone

public AjaxSelenium clone()
                   throws CloneNotSupportedException
Specified by:
clone in interface AjaxSelenium
Overrides:
clone in class Object
Throws:
CloneNotSupportedException

Ajocado Implementation 1.0.0.Alpha2

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.