Skip to content

Latest commit

 

History

History
92 lines (50 loc) · 2.32 KB

elementwebelementbyjs.md

File metadata and controls

92 lines (50 loc) · 2.32 KB

selenidejsElementWebElementByJs

Class: ElementWebElementByJs

Hierarchy

  • ElementWebElementByJs

Implements

  • Locator‹Promise‹WebElement››

Index

Constructors

Properties

Methods

Constructors

constructor

+ new ElementWebElementByJs(element: Element, script: string | function, args: any[]): ElementWebElementByJs

Defined in lib/locators/ElementWebElementByJs.ts:20

Parameters:

Name Type
element Element
script string | function
args any[]

Returns: ElementWebElementByJs

Properties

Private args

args: any[]

Defined in lib/locators/ElementWebElementByJs.ts:25


Private element

element: Element

Defined in lib/locators/ElementWebElementByJs.ts:23


Private script

script: string | function

Defined in lib/locators/ElementWebElementByJs.ts:24

Methods

find

find(): Promise‹WebElement›

Implementation of Locator

Defined in lib/locators/ElementWebElementByJs.ts:32

Returns: Promise‹WebElement›


toString

toString(): string

Defined in lib/locators/ElementWebElementByJs.ts:36

Returns: string