Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • JSDOMNode

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

  • new JSDOMNode(element: HTMLElement, jsdom: JSDOM): JSDOMNode

Properties

element

element: HTMLElement

jsdom

jsdom: JSDOM

Methods

click

  • click(): Promise<void>

doubleClick

  • doubleClick(): Promise<void>

execute

  • execute<THTMLElement, TResult>(script: function, ...args: Argument[]): Promise<TResult>
  • Type parameters

    • THTMLElement: HTMLElement

    • TResult

    Parameters

    • script: function
        • (element: THTMLElement, ...args: Argument[]): TResult
        • Parameters

          • element: THTMLElement
          • Rest ...args: Argument[]

          Returns TResult

    • Rest ...args: Argument[]

    Returns Promise<TResult>