Trait

org.pageobject.core.dsl

WindowDsl

Related Doc: package dsl

Permalink

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
Visibility
  1. Public
  2. All

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

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

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

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

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

    Permalink

    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
  10. def frame(element: WebElement): FrameWebElementTarget

    Permalink

    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
  11. def frame(nameOrId: String): FrameNameOrIdTarget

    Permalink

    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
  12. def frame(index: Int): FrameIndexTarget

    Permalink

    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
  13. final def getClass(): Class[_]

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

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

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

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  20. def toString(): String

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

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

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

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

    Permalink

    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
  25. def windowHandle(implicit driver: WebDriver): String

    Permalink

    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
  26. def windowHandles(implicit driver: WebDriver): Set[String]

    Permalink

    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