Skip to content

Latest commit

 

History

History
82 lines (44 loc) · 2.1 KB

byindexwebelementlocator.md

File metadata and controls

82 lines (44 loc) · 2.1 KB

selenidejsByIndexWebElementLocator

Class: ByIndexWebElementLocator

Hierarchy

  • ByIndexWebElementLocator

Implements

  • Locator‹Promise‹WebElement››

Index

Constructors

Properties

Methods

Constructors

constructor

+ new ByIndexWebElementLocator(index: number, collection: Collection): ByIndexWebElementLocator

Defined in lib/locators/byIndexWebElementLocator.ts:20

Parameters:

Name Type
index number
collection Collection

Returns: ByIndexWebElementLocator

Properties

Private collection

collection: Collection

Defined in lib/locators/byIndexWebElementLocator.ts:23


Private index

index: number

Defined in lib/locators/byIndexWebElementLocator.ts:22

Methods

find

find(): Promise‹WebElement›

Implementation of Locator

Defined in lib/locators/byIndexWebElementLocator.ts:28

Returns: Promise‹WebElement›


toString

toString(): string

Defined in lib/locators/byIndexWebElementLocator.ts:39

Returns: string