Class EventFiringWebDriver
java.lang.Object
org.openqa.selenium.support.events.EventFiringWebDriver
- All Implemented Interfaces:
org.openqa.selenium.HasCapabilities,org.openqa.selenium.interactions.Interactive,org.openqa.selenium.JavascriptExecutor,org.openqa.selenium.SearchContext,org.openqa.selenium.TakesScreenshot,org.openqa.selenium.WebDriver,org.openqa.selenium.WrapsDriver
@Deprecated
public class EventFiringWebDriver
extends Object
implements org.openqa.selenium.WebDriver, org.openqa.selenium.JavascriptExecutor, org.openqa.selenium.TakesScreenshot, org.openqa.selenium.WrapsDriver, org.openqa.selenium.interactions.Interactive, org.openqa.selenium.HasCapabilities
Deprecated.
A wrapper around an arbitrary
WebDriver instance which supports registering of a WebDriverEventListener, e.g. for logging purposes.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.openqa.selenium.WebDriver
org.openqa.selenium.WebDriver.Navigation, org.openqa.selenium.WebDriver.Options, org.openqa.selenium.WebDriver.TargetLocator, org.openqa.selenium.WebDriver.Timeouts, org.openqa.selenium.WebDriver.Window -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Deprecated.executeAsyncScript(String script, Object... args) Deprecated.executeScript(String script, Object... args) Deprecated.org.openqa.selenium.WebElementfindElement(org.openqa.selenium.By by) Deprecated.List<org.openqa.selenium.WebElement>findElements(org.openqa.selenium.By by) Deprecated.voidDeprecated.org.openqa.selenium.CapabilitiesDeprecated.Deprecated.Deprecated.<X> XgetScreenshotAs(org.openqa.selenium.OutputType<X> target) Deprecated.getTitle()Deprecated.Deprecated.Deprecated.org.openqa.selenium.WebDriverDeprecated.org.openqa.selenium.WebDriver.Optionsmanage()Deprecated.org.openqa.selenium.WebDriver.Navigationnavigate()Deprecated.voidperform(Collection<org.openqa.selenium.interactions.Sequence> actions) Deprecated.voidquit()Deprecated.register(WebDriverEventListener eventListener) Deprecated.voidDeprecated.org.openqa.selenium.WebDriver.TargetLocatorswitchTo()Deprecated.unregister(WebDriverEventListener eventListener) Deprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openqa.selenium.JavascriptExecutor
executeScript, getPinnedScripts, pin, unpin
-
Constructor Details
-
EventFiringWebDriver
public EventFiringWebDriver(org.openqa.selenium.WebDriver driver) Deprecated.
-
-
Method Details
-
register
Deprecated.- Parameters:
eventListener- the event listener to register- Returns:
- this for method chaining.
-
unregister
Deprecated.- Parameters:
eventListener- the event listener to unregister- Returns:
- this for method chaining.
-
getWrappedDriver
public org.openqa.selenium.WebDriver getWrappedDriver()Deprecated.- Specified by:
getWrappedDriverin interfaceorg.openqa.selenium.WrapsDriver
-
get
Deprecated.- Specified by:
getin interfaceorg.openqa.selenium.WebDriver
-
getCurrentUrl
Deprecated.- Specified by:
getCurrentUrlin interfaceorg.openqa.selenium.WebDriver
-
getTitle
Deprecated.- Specified by:
getTitlein interfaceorg.openqa.selenium.WebDriver
-
findElements
Deprecated.- Specified by:
findElementsin interfaceorg.openqa.selenium.SearchContext- Specified by:
findElementsin interfaceorg.openqa.selenium.WebDriver
-
findElement
public org.openqa.selenium.WebElement findElement(org.openqa.selenium.By by) Deprecated.- Specified by:
findElementin interfaceorg.openqa.selenium.SearchContext- Specified by:
findElementin interfaceorg.openqa.selenium.WebDriver
-
getPageSource
Deprecated.- Specified by:
getPageSourcein interfaceorg.openqa.selenium.WebDriver
-
close
public void close()Deprecated.- Specified by:
closein interfaceorg.openqa.selenium.WebDriver
-
quit
public void quit()Deprecated.- Specified by:
quitin interfaceorg.openqa.selenium.WebDriver
-
getWindowHandles
Deprecated.- Specified by:
getWindowHandlesin interfaceorg.openqa.selenium.WebDriver
-
getWindowHandle
Deprecated.- Specified by:
getWindowHandlein interfaceorg.openqa.selenium.WebDriver
-
executeScript
Deprecated.- Specified by:
executeScriptin interfaceorg.openqa.selenium.JavascriptExecutor
-
executeAsyncScript
Deprecated.- Specified by:
executeAsyncScriptin interfaceorg.openqa.selenium.JavascriptExecutor
-
getScreenshotAs
public <X> X getScreenshotAs(org.openqa.selenium.OutputType<X> target) throws org.openqa.selenium.WebDriverException Deprecated.- Specified by:
getScreenshotAsin interfaceorg.openqa.selenium.TakesScreenshot- Throws:
org.openqa.selenium.WebDriverException
-
switchTo
public org.openqa.selenium.WebDriver.TargetLocator switchTo()Deprecated.- Specified by:
switchToin interfaceorg.openqa.selenium.WebDriver
-
manage
public org.openqa.selenium.WebDriver.Options manage()Deprecated.- Specified by:
managein interfaceorg.openqa.selenium.WebDriver
-
perform
Deprecated.- Specified by:
performin interfaceorg.openqa.selenium.interactions.Interactive
-
resetInputState
public void resetInputState()Deprecated.- Specified by:
resetInputStatein interfaceorg.openqa.selenium.interactions.Interactive
-
getCapabilities
public org.openqa.selenium.Capabilities getCapabilities()Deprecated.- Specified by:
getCapabilitiesin interfaceorg.openqa.selenium.HasCapabilities
-
EventFiringDecoratorandWebDriverListenerinstead