org.apache.geronimo.testsupport
Class ExtendedSelenium

java.lang.Object
  extended by com.thoughtworks.selenium.DefaultSelenium
      extended by org.apache.geronimo.testsupport.ExtendedSelenium
All Implemented Interfaces:
com.thoughtworks.selenium.Selenium

public class ExtendedSelenium
extends com.thoughtworks.selenium.DefaultSelenium

Provides custom extentions to Selenium.


Field Summary
 
Fields inherited from class com.thoughtworks.selenium.DefaultSelenium
commandProcessor
 
Constructor Summary
ExtendedSelenium(String serverHost, int serverPort, String browserStartCommand, String browserURL)
           
 
Method Summary
 void removeCookie(String name, String path)
          Remove a cookie from the browser.
 
Methods inherited from class com.thoughtworks.selenium.DefaultSelenium
addSelection, answerOnNextPrompt, check, chooseCancelOnNextConfirmation, click, close, fireEvent, getAlert, getAllButtons, getAllFields, getAllLinks, getAttribute, getBodyText, getConfirmation, getCursorPosition, getEval, getExpression, getHtmlSource, getLocation, getPrompt, getSelectedId, getSelectedIds, getSelectedIndex, getSelectedIndexes, getSelectedLabel, getSelectedLabels, getSelectedValue, getSelectedValues, getSelectOptions, getTable, getText, getTitle, getValue, goBack, isAlertPresent, isChecked, isConfirmationPresent, isEditable, isElementPresent, isPromptPresent, isSomethingSelected, isTextPresent, isVisible, keyDown, keyPress, keyUp, mouseDown, mouseOver, open, refresh, removeSelection, select, selectWindow, setContext, setCursorPosition, setTimeout, start, stop, submit, type, uncheck, waitForCondition, waitForPageToLoad, waitForPopUp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtendedSelenium

public ExtendedSelenium(String serverHost,
                        int serverPort,
                        String browserStartCommand,
                        String browserURL)
Method Detail

removeCookie

public void removeCookie(String name,
                         String path)
Remove a cookie from the browser.

This requires some custom hooks in user-extensions.js. When using the selenium-maven-plugin the defaults should be merged into the user-extensions.js which is loaded by the server.



Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.