Uses of Enum Class
org.openqa.selenium.WindowType
Packages that use WindowType
Package
Description
-
Uses of WindowType in org.openqa.selenium
Methods in org.openqa.selenium that return WindowTypeModifier and TypeMethodDescriptionstatic @Nullable WindowType
WindowType.fromString
(@Nullable String text) static WindowType
Returns the enum constant of this class with the specified name.static WindowType[]
WindowType.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.openqa.selenium with parameters of type WindowTypeModifier and TypeMethodDescriptionWebDriver.TargetLocator.newWindow
(WindowType typeHint) Creates a new browser window and switches the focus for future commands of this driver to the new window. -
Uses of WindowType in org.openqa.selenium.bidi.browsingcontext
Constructors in org.openqa.selenium.bidi.browsingcontext with parameters of type WindowTypeModifierConstructorDescriptionBrowsingContext
(WebDriver driver, WindowType type) BrowsingContext
(WebDriver driver, WindowType type, String referenceContextId) Deprecated. -
Uses of WindowType in org.openqa.selenium.remote
Methods in org.openqa.selenium.remote with parameters of type WindowTypeModifier and TypeMethodDescriptionRemoteWebDriver.RemoteTargetLocator.newWindow
(WindowType typeHint) static CommandPayload
DriverCommand.SWITCH_TO_NEW_WINDOW
(WindowType typeHint) -
Uses of WindowType in org.openqa.selenium.support.events
Methods in org.openqa.selenium.support.events with parameters of type WindowTypeModifier and TypeMethodDescriptiondefault void
WebDriverListener.afterNewWindow
(WebDriver.TargetLocator targetLocator, WindowType typeHint, WebDriver driver) This action will be performed each time afterWebDriver.TargetLocator.newWindow(WindowType)
is called.default void
WebDriverListener.beforeNewWindow
(WebDriver.TargetLocator targetLocator, WindowType typeHint) This action will be performed each time beforeWebDriver.TargetLocator.newWindow(WindowType)
is called.