Graphene Selenium: API 2.0.0.Alpha1

org.jboss.arquillian.ajocado.framework
Interface GrapheneSelenium

All Superinterfaces:
Cloneable, ExtendedTypedSelenium, TypedSelenium
All Known Subinterfaces:
AjaxSelenium

public interface GrapheneSelenium
extends ExtendedTypedSelenium, Cloneable

Extension for TypedSelenium extended by methods in ExtendedTypedSelenium.

Internally using CommandInterceptorProxy to add aspects to commands.

Version:
$Revision$
Author:
Lukas Fryc

Method Summary
 GrapheneSelenium clone()
          Returns the clone of AjaxSelenium pointing to the same Selenium session but with cloned configuration objects (PageExtensions, SeleniumExtensions, RequestGuard and CommandInterceptionProxy).
 CommandInterceptorProxy getCommandInterceptionProxy()
          Returns associated command interception proxy
 PageExtensions getPageExtensions()
           Gets a PageExtensions object.
 RequestGuard getRequestGuard()
           Returns the RequestInterceptor object
 SeleniumExtensions getSeleniumExtensions()
           Returns a SeleniumExtensions object.
 void restartBrowser()
           Simulates restart of browser in order to be able get unpolluted browser session.
 
Methods inherited from interface org.jboss.arquillian.ajocado.framework.ExtendedTypedSelenium
belongsClass, check, doCommand, getCount, getStyle, isAttributePresent, 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, 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, windowMaximize
 

Method Detail

getPageExtensions

PageExtensions getPageExtensions()

Gets a PageExtensions object.

PageExtensions represents the JavaScript extensions on the tested page.

Returns:
the PageExtensions object

getSeleniumExtensions

SeleniumExtensions getSeleniumExtensions()

Returns a SeleniumExtensions object.

SeleniumExtensions can be used in Selenium Test Runner to extend Selenium functionality.

Returns:
the SeleniumExtensions object

getRequestGuard

RequestGuard getRequestGuard()

Returns the RequestInterceptor object

RequestInterceptor

Returns:
the RequestInterceptor object

getCommandInterceptionProxy

CommandInterceptorProxy getCommandInterceptionProxy()
Returns associated command interception proxy

Returns:
associated command interception proxy

restartBrowser

void restartBrowser()

Simulates restart of browser in order to be able get unpolluted browser session.

When running in mode that reuses browser session, it will only delete all cookies.


clone

GrapheneSelenium clone()
Returns the clone of AjaxSelenium pointing to the same Selenium session but with cloned configuration objects (PageExtensions, SeleniumExtensions, RequestGuard and CommandInterceptionProxy).

Returns:
the clone of this AjaxSelenium instance

Graphene Selenium: API 2.0.0.Alpha1

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.