org.zkoss.ztl.util
Class ZKSelenium

java.lang.Object
  extended by com.thoughtworks.selenium.DefaultSelenium
      extended by org.zkoss.ztl.util.ZKSelenium
All Implemented Interfaces:
com.thoughtworks.selenium.Selenium, org.openqa.selenium.internal.WrapsDriver

public class ZKSelenium
extends com.thoughtworks.selenium.DefaultSelenium
implements org.openqa.selenium.internal.WrapsDriver

Author:
jumperchen

Field Summary
 
Fields inherited from class com.thoughtworks.selenium.DefaultSelenium
commandProcessor
 
Constructor Summary
ZKSelenium(com.thoughtworks.selenium.CommandProcessor processor)
           
ZKSelenium(com.thoughtworks.selenium.CommandProcessor processor, java.lang.String openonce)
           
ZKSelenium(com.thoughtworks.selenium.CommandProcessor processor, java.lang.String browsername, java.lang.String openonce)
           
 
Method Summary
 void close()
           
 java.lang.String getBrowserName()
           
 com.thoughtworks.selenium.CommandProcessor getCmdProcessor()
           
 java.lang.String getSpeed()
           
 org.openqa.selenium.WebDriver getWrappedDriver()
           
 void open(java.lang.String url)
           
 void setSpeed(java.lang.String value)
           
 void shutdown()
           
 void start()
           
 void stop()
           
 
Methods inherited from class com.thoughtworks.selenium.DefaultSelenium
addCustomRequestHeader, addLocationStrategy, addScript, addSelection, allowNativeXpath, altKeyDown, altKeyUp, answerOnNextPrompt, assignId, attachFile, captureEntirePageScreenshot, captureEntirePageScreenshotToString, captureNetworkTraffic, captureScreenshot, captureScreenshotToString, check, chooseCancelOnNextConfirmation, chooseOkOnNextConfirmation, click, clickAt, contextMenu, contextMenuAt, controlKeyDown, controlKeyUp, createCookie, deleteAllVisibleCookies, deleteCookie, deselectPopUp, doubleClick, doubleClickAt, dragAndDrop, dragAndDropToObject, dragdrop, fireEvent, focus, getAlert, getAllButtons, getAllFields, getAllLinks, getAllWindowIds, getAllWindowNames, getAllWindowTitles, getAttribute, getAttributeFromAllWindows, getBodyText, getConfirmation, getCookie, getCookieByName, getCssCount, getCursorPosition, getElementHeight, getElementIndex, getElementPositionLeft, getElementPositionTop, getElementWidth, getEval, getExpression, getHtmlSource, getLocation, getLog, getMouseSpeed, getPrompt, getSelectedId, getSelectedIds, getSelectedIndex, getSelectedIndexes, getSelectedLabel, getSelectedLabels, getSelectedValue, getSelectedValues, getSelectOptions, getTable, getText, getTitle, getValue, getWhetherThisFrameMatchFrameExpression, getWhetherThisWindowMatchWindowExpression, getXpathCount, goBack, highlight, ignoreAttributesWithoutValue, isAlertPresent, isChecked, isConfirmationPresent, isCookiePresent, isEditable, isElementPresent, isOrdered, isPromptPresent, isSomethingSelected, isTextPresent, isVisible, keyDown, keyDownNative, keyPress, keyPressNative, keyUp, keyUpNative, metaKeyDown, metaKeyUp, mouseDown, mouseDownAt, mouseDownRight, mouseDownRightAt, mouseMove, mouseMoveAt, mouseOut, mouseOver, mouseUp, mouseUpAt, mouseUpRight, mouseUpRightAt, open, openWindow, refresh, removeAllSelections, removeScript, removeSelection, retrieveLastRemoteControlLogs, rollup, runScript, select, selectFrame, selectPopUp, selectWindow, setBrowserLogLevel, setContext, setCursorPosition, setExtensionJs, setMouseSpeed, setTimeout, shiftKeyDown, shiftKeyUp, showContextualBanner, showContextualBanner, shutDownSeleniumServer, start, start, submit, type, typeKeys, uncheck, useXpathLibrary, waitForCondition, waitForFrameToLoad, waitForPageToLoad, waitForPopUp, windowFocus, windowMaximize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZKSelenium

public ZKSelenium(com.thoughtworks.selenium.CommandProcessor processor)

ZKSelenium

public ZKSelenium(com.thoughtworks.selenium.CommandProcessor processor,
                  java.lang.String openonce)

ZKSelenium

public ZKSelenium(com.thoughtworks.selenium.CommandProcessor processor,
                  java.lang.String browsername,
                  java.lang.String openonce)
Method Detail

start

public void start()
Specified by:
start in interface com.thoughtworks.selenium.Selenium
Overrides:
start in class com.thoughtworks.selenium.DefaultSelenium

open

public void open(java.lang.String url)
Specified by:
open in interface com.thoughtworks.selenium.Selenium
Overrides:
open in class com.thoughtworks.selenium.DefaultSelenium

close

public void close()
Specified by:
close in interface com.thoughtworks.selenium.Selenium
Overrides:
close in class com.thoughtworks.selenium.DefaultSelenium

shutdown

public void shutdown()

stop

public void stop()
Specified by:
stop in interface com.thoughtworks.selenium.Selenium
Overrides:
stop in class com.thoughtworks.selenium.DefaultSelenium

getBrowserName

public java.lang.String getBrowserName()

getCmdProcessor

public com.thoughtworks.selenium.CommandProcessor getCmdProcessor()

getWrappedDriver

public org.openqa.selenium.WebDriver getWrappedDriver()
Specified by:
getWrappedDriver in interface org.openqa.selenium.internal.WrapsDriver

setSpeed

public void setSpeed(java.lang.String value)
Specified by:
setSpeed in interface com.thoughtworks.selenium.Selenium
Overrides:
setSpeed in class com.thoughtworks.selenium.DefaultSelenium

getSpeed

public java.lang.String getSpeed()
Specified by:
getSpeed in interface com.thoughtworks.selenium.Selenium
Overrides:
getSpeed in class com.thoughtworks.selenium.DefaultSelenium


Copyright © 2015. All Rights Reserved.