selenidejs › ElementWebElementByJs
- ElementWebElementByJs
- Locator‹Promise‹WebElement››
+ 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
• args: any[]
Defined in lib/locators/ElementWebElementByJs.ts:25
• element: Element
Defined in lib/locators/ElementWebElementByJs.ts:23
• script: string | function
Defined in lib/locators/ElementWebElementByJs.ts:24
▸ find(): Promise‹WebElement›
Implementation of Locator
Defined in lib/locators/ElementWebElementByJs.ts:32
Returns: Promise‹WebElement›
▸ toString(): string
Defined in lib/locators/ElementWebElementByJs.ts:36
Returns: string