Interface ElementProxy

Index

Methods

Methods

public addClass(className: string, callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • className: string
  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public attr(name: string, value?: string, callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • name: string
  • value?: string optional
  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public blur(callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public children(callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public click(callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public closest(callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public contents(callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public css(name: string, value?: string, callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • name: string
  • value?: string optional
  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public data(name: string, value?: any, callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • name: string
  • value?: any optional
  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public filter(selector: any, callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • selector: any
  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public find(selector: string, callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • selector: string
  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public findElement(selector: string, callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • selector: string
  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public findElements(selector: string, callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • selector: string
  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public findVisible(selector: string, callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • selector: string
  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public findVisibles(selector: string, callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • selector: string
  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public first(callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public focus(callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public has(arg: any, callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • arg: any
  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public hasClass(className: string, callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • className: string
  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public height(value?: any, callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • value?: any optional
  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public hide(callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public html(value?: string, callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • value?: string optional
  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public innerHeight(value?: any, callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • value?: any optional
  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public innerWidth(value?: any, callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • value?: any optional
  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public is(arg: any, callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • arg: any
  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public isActionable(callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public last(callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public next(selector?: string, callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • selector?: string optional
  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public nextAll(selector?: string, callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • selector?: string optional
  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public nextUntil(selector?: string, callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • selector?: string optional
  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public offset(value?: any, callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • value?: any optional
  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public offsetParent(callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public outerHeight(value?: any, callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • value?: any optional
  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public outerWidth(value?: any, callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • value?: any optional
  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public parent(selector?: string, callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • selector?: string optional
  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public parents(selector?: string, callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • selector?: string optional
  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public parentsUntil(selector?: string, callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • selector?: string optional
  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public position(callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public prev(selector?: string, callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • selector?: string optional
  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public prevAll(selector?: string, callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • selector?: string optional
  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public prevUntil(selector?: string, callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • selector?: string optional
  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public prop(name: string, value?: string, callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • name: string
  • value?: string optional
  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public removeAttr(name: string, callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • name: string
  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public removeClass(className: string, callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • className: string
  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public removeData(name: string, callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • name: string
  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public removeProp(name: string, callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • name: string
  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public scrollLeft(value?: number, callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • value?: number optional
  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public scrollTop(value?: number, callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • value?: number optional
  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public show(callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public siblings(selector?: string, callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • selector?: string optional
  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public text(value?: string, callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • value?: string optional
  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public toggle(callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public toggleClass(className: string, callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • className: string
  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public trigger(event: string, extraParameters?: any, callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • event: string
  • extraParameters?: any optional
  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public triggerHandler(event: string, extraParameters?: any, callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • event: string
  • extraParameters?: any optional
  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public val(value?: string, callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • value?: string optional
  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy

public width(value?: any, callback?: (err: Error, element: "browser-harness".ElementProxy) => void): ElementProxy

Parameters

  • value?: any optional
  • callback?: (err: Error, element: "browser-harness".ElementProxy) => void optional

Returns

ElementProxy