selenidejs › ByIndexWebElementLocator
- ByIndexWebElementLocator
- Locator‹Promise‹WebElement››
+ new ByIndexWebElementLocator(index
: number, collection
: Collection): ByIndexWebElementLocator
Defined in lib/locators/byIndexWebElementLocator.ts:20
Parameters:
Name | Type |
---|---|
index |
number |
collection |
Collection |
Returns: ByIndexWebElementLocator
• collection: Collection
Defined in lib/locators/byIndexWebElementLocator.ts:23
• index: number
Defined in lib/locators/byIndexWebElementLocator.ts:22
▸ find(): Promise‹WebElement›
Implementation of Locator
Defined in lib/locators/byIndexWebElementLocator.ts:28
Returns: Promise‹WebElement›
▸ toString(): string
Defined in lib/locators/byIndexWebElementLocator.ts:39
Returns: string