org.pageobject.core.dsl

WindowDsl

trait WindowDsl extends AnyRef

This trait is part of the PageObject DSL.

This trait implements window and frame management commands.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. WindowDsl
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def frame(element: Element): FrameElementTarget

    This method supports switching to a frame by element in PageObject DSL.

    This method supports switching to a frame by element in PageObject DSL.

    element

    Element which is contained in the frame to switch to

    returns

    a FrameElementTarget instance

    Attributes
    protected
  12. def frame(element: WebElement): FrameWebElementTarget

    This method supports switching to a frame by web element in PageObject DSL.

    This method supports switching to a frame by web element in PageObject DSL.

    element

    WebElement which is contained in the frame to switch to

    returns

    a FrameWebElementTarget instance

    Attributes
    protected
  13. def frame(nameOrId: String): FrameNameOrIdTarget

    This method supports switching to a frame by name or ID in PageObject DSL.

    This method supports switching to a frame by name or ID in PageObject DSL.

    This class is enables the following syntax:

    switch to frame("name")
    ^
    

    nameOrId

    name or ID of the frame to switch to

    returns

    a FrameNameOrIdTarget instance

    Attributes
    protected
  14. def frame(index: Int): FrameIndexTarget

    This method supports switching to a frame by index in PageObject DSL.

    This method supports switching to a frame by index in PageObject DSL.

    This class is enables the following syntax:

    switch to frame(0)
    ^
    

    index

    the index of frame to switch to

    returns

    a FrameIndexTarget instance

    Attributes
    protected
  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  22. def toString(): String

    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. def window(nameOrHandle: String): WindowTarget

    This class supports switching to a window by name or handle in PageObject DSL.

    This class supports switching to a window by name or handle in PageObject DSL.

    This class is enables the following syntax:

    switch to window(windowHandle)
    ^
    

    nameOrHandle

    name or window handle of the window to switch to

    returns

    a WindowTarget instance

    Attributes
    protected
  27. def windowHandle(implicit driver: WebDriver): String

    Get an opaque handle to current active window that uniquely identifies it within the implicit driver instance.

    Get an opaque handle to current active window that uniquely identifies it within the implicit driver instance.

    driver

    the WebDriver with which to drive the browser

    Attributes
    protected
  28. def windowHandles(implicit driver: WebDriver): Set[String]

    Get a set of window handles which can be used to iterate over all open windows

    Get a set of window handles which can be used to iterate over all open windows

    driver

    the WebDriver with which to drive the browser

    Attributes
    protected

Inherited from AnyRef

Inherited from Any

Ungrouped