Uses of Class
org.openqa.selenium.WebDriverException
Package
Description
-
Uses of WebDriverException in org.openqa.selenium
Modifier and TypeClassDescriptionclass
Indicates that a reference to a shadow root is now "detached" --- the element no longer appears on the DOM of the page.class
Indicates that a click could not be properly executed because the target element was obscured in some way.class
Thrown to indicate that although aWebElement
is present on the DOM, it is not in a state that can be interacted with.class
Indicates that a Node health check failed.class
Indicates that navigation caused by the user agent hit a certificate warning, which is usually the result of an expired or invalid TLS certificate.class
class
Thrown when attempting to add a cookie under a different domain than the current URL.class
Indicates that aWebElement
is in a state that means actions cannot be performed with it.class
class
class
Indicates that a user has tried to access an alert when one is not present.class
Deprecated.class
class
Thrown byWebDriver.findElement(By by)
andWebElement.findElement(By by)
.class
class
Thrown by any command being called afterWebDriver.quit()
.class
Indicates that an element does not have a shadow root.class
class
class
class
Thrown when an async execute script command does not complete in enough time.class
Indicates that a session could not be created.class
Indicates that a reference to an element is now "stale" --- the element no longer appears on the DOM of the page.class
Thrown when a command does not complete in enough time.class
Thrown when a driver fails to set a cookie.class
class
Used to indicate that a command used by the remote webdriver is unsupported.Modifier and TypeMethodDescription<X> X
TakesScreenshot.getScreenshotAs
(OutputType<X> target) Capture the screenshot and store it in the specified location.PrintsPage.print
(PrintOptions printOptions) -
Uses of WebDriverException in org.openqa.selenium.bidi
-
Uses of WebDriverException in org.openqa.selenium.devtools
Modifier and TypeClassDescriptionclass
class
This exception is thrown by the finalHttpHandler
in aFilter
chain when the browser fails to send a HTTP request. -
Uses of WebDriverException in org.openqa.selenium.firefox
Modifier and TypeMethodDescription<X> X
FirefoxDriver.getFullPageScreenshotAs
(OutputType<X> outputType) Capture the full page screenshot and store it in the specified location. -
Uses of WebDriverException in org.openqa.selenium.grid.node
Modifier and TypeMethodDescriptionabstract Either<WebDriverException,
CreateSessionResponse> Node.newSession
(CreateSessionRequest sessionRequest) -
Uses of WebDriverException in org.openqa.selenium.grid.node.config
Modifier and TypeMethodDescriptionDriverServiceSessionFactory.apply
(CreateSessionRequest sessionRequest) -
Uses of WebDriverException in org.openqa.selenium.grid.node.docker
Modifier and TypeMethodDescriptionDockerSessionFactory.apply
(CreateSessionRequest sessionRequest) -
Uses of WebDriverException in org.openqa.selenium.grid.node.local
Modifier and TypeMethodDescriptionSessionSlot.apply
(CreateSessionRequest sessionRequest) LocalNode.newSession
(CreateSessionRequest sessionRequest) -
Uses of WebDriverException in org.openqa.selenium.grid.node.relay
-
Uses of WebDriverException in org.openqa.selenium.grid.node.remote
-
Uses of WebDriverException in org.openqa.selenium.interactions
Modifier and TypeClassDescriptionclass
Indicates that the target provided to the actions move() method is invalid - outside of the size of the window. -
Uses of WebDriverException in org.openqa.selenium.json
-
Uses of WebDriverException in org.openqa.selenium.remote
Modifier and TypeClassDescriptionstatic class
Exception used as a place holder if the server returns an error without a stack trace.class
Thrown byDriverFinder.getDriverPath()
(DriverService, Capabilities)}.class
class
Indicates there was a problem communicating with the browser being controlled or the Selenium server.Modifier and TypeMethodDescriptionModifier and TypeMethodDescriptionClass<? extends WebDriverException>
ErrorCodes.getExceptionType
(int statusCode) Deprecated, for removal: This API element is subject to removal in a future version.Returns the exception type that corresponds to the givenstatusCode
.Class<? extends WebDriverException>
ErrorCodes.getExceptionType
(String webdriverState) Deprecated, for removal: This API element is subject to removal in a future version.Modifier and TypeMethodDescription<X> X
RemoteWebDriver.getScreenshotAs
(OutputType<X> outputType) <X> X
RemoteWebElement.getScreenshotAs
(OutputType<X> outputType) RemoteWebDriver.print
(PrintOptions printOptions) -
Uses of WebDriverException in org.openqa.selenium.remote.http
-
Uses of WebDriverException in org.openqa.selenium.safari
Modifier and TypeClassDescriptionclass
Exception thrown when the connection to the SafariDriver is lost.Modifier and TypeMethodDescriptionstatic SafariOptions
SafariOptions.fromCapabilities
(Capabilities capabilities) Construct aSafariOptions
instance from given capabilities. -
Uses of WebDriverException in org.openqa.selenium.support.ui