Interface ClientUtils

Index

Methods

Methods

public echo(message: string)

Parameters

  • message: string

public encode(contents: string)

Parameters

  • contents: string

public exists(selector: string)

Parameters

  • selector: string

public findAll(selector: string)

Parameters

  • selector: string

public findOne(selector: string)

Parameters

  • selector: string

public getBase64(url: string, method?: string, data?: any)

Parameters

  • url: string
  • method?: string optional
  • data?: any optional

public getBinary(url: string, method?: string, data?: any)

Parameters

  • url: string
  • method?: string optional
  • data?: any optional

public getDocumentHeight()

public getElementBounds(selector: string)

Parameters

  • selector: string

public getElementByXPath(expression: string, scope?: HTMLElement)

Parameters

  • expression: string
  • scope?: HTMLElement optional

public getElementsBounds(selector: string)

Parameters

  • selector: string

public getElementsByXPath(expression: string, scope?: HTMLElement)

Parameters

  • expression: string
  • scope?: HTMLElement optional

public getFieldValue(inputName: string)

Parameters

  • inputName: string

public getFormValues(selector: string)

Parameters

  • selector: string

public mouseEvent(type: string, selector: string)

Parameters

  • type: string
  • selector: string

public removeElementsByXPath(expression: string)

Parameters

  • expression: string

public sendAJAX(url: string, method?: string, data?: any, async?: boolean)

Parameters

  • url: string
  • method?: string optional
  • data?: any optional
  • async?: boolean optional

public visible(selector: string)

Parameters

  • selector: string