org.scalatest.selenium.WebBrowser

SwitchTarget

class SwitchTarget [T] extends AnyRef

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.

Attributes
sealed abstract
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. SwitchTarget
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SwitchTarget ()

Abstract Value Members

  1. def switch (driver: WebDriver): T

    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.

    driver

    the WebDriver with which to perform the switch

    Attributes
    abstract