org.scalatestplus.selenium.WebBrowser
Abstract method implemented by subclasses that represent "targets" to which the user can switch.
Abstract method implemented by subclasses that represent "targets" to which the user can switch.
the WebDriver
with which to perform the switch
This sealed abstract class supports switching in ScalaTest's Selenium DSL. Please see the documentation for
WebBrowser
for an overview of the Selenium DSL.One subclass of
SwitchTarget
exists for each kind of target that can be switched to: active element, alert box, default content, frame (indentified by index, name or id, or enclosed element), and window.