A null-object implementation of the Selenium WebDriver
interface that throws UnsupportedOperationException
from
all of its methods, used when either 1) a WebDriver
field has not yet been initialized, 2) a requested Selenium
WebDriver
is unavailable on the host platform, or 3) a test that did not declare it needed a WebDriver
in
AllBrowserPerSuite or AllBrowserPerTest attempts to use one.
An implementation of WebDriver
that provides an optional exception and an error message and throws UnsupportedOperationException
from
all of its other methods, used when a requested Selenium WebDriver
is unavailable on the host platform.
An implementation of WebDriver
that throws UnsupportedOperationException
from
all of its methods, used to initialize instance var
s of type WebDriver
.
An implementation of WebDriver
that throws UnsupportedOperationException
from
all of its methods, used when a test does not need a Selenium WebDriver
at all.
Companion object to trait
BrowserFactory
that holds aUnavailableDriver
object that implements the SeleniumWebDriver
interface by throwingUnuspportedOperationException
. This is used as a placeholder when a driver is not available on the host platform.