trait TestDom extends AnyRef

Wraps a DOM and provides utilities for testing its state.

As an example testDom.outerHTML.assert("

Welcome")

Since

2.2.0

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TestDom
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. abstract type Self <: TestDom

Abstract Value Members

  1. abstract def Self(n: Node): Self
    Attributes
    protected
  2. abstract def node: Node

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def as[A](implicit ct: ClassTag[A]): A

    Cast the DOM as A or throw an exception.

  5. def asButton(): HTMLButtonElement
  6. def asDocument(): Document
  7. def asDocumentFragment(): DocumentFragment
  8. def asElement(): Element
  9. def asHtml(): HTMLElement
  10. def asInput(): HTMLInputElement
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def asSelect(): HTMLSelectElement
  13. def asTextArea(): HTMLTextAreaElement
  14. def children(): Vector[Node]
  15. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  19. def firstChild(): Node
  20. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. def innerHTML: HtmlAssertionDsl
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. def outerHTML: HtmlAssertionDsl
  28. def querySelector(selectors: String): Element
  29. def querySelectorAll(selectors: String): Vector[Element]
  30. def querySelectorOption(selectors: String): Option[Element]
  31. def select(selectors: String): Self
  32. def select(f: (Node) => Node): Self
  33. def selectFirst(selectors: String): Self
  34. def selectFirstChild(): Self
  35. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  36. def toString(): String
    Definition Classes
    AnyRef → Any
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped