import {TargetNestedElements} from '@serenity-js/protractor/lib/screenplay/questions/targets'
TargetNestedElements
Locates a group of web element located within another web element. Instead of using this class directly, please use Target.all instead.
Extends:
@serenity-js/core~Question → TargetNestedElements
Tests:
See also:
Constructor Summary
Public Constructor | ||
public |
constructor(parent: Question<ElementFinder> | ElementFinder, children: Question<ElementArrayFinder> | ElementArrayFinder) |
Method Summary
Public Methods | ||
public |
answeredBy(actor: AnswersQuestions & UsesAbilities): Promise<void> |
|
public |
of(parent: Question<ElementFinder> | ElementFinder): TargetNestedElements |
Public Constructors
public constructor(parent: Question<ElementFinder> | ElementFinder, children: Question<ElementArrayFinder> | ElementArrayFinder) source
Params:
Name | Type | Attribute | Description |
parent | Question<ElementFinder> | ElementFinder | ||
children | Question<ElementArrayFinder> | ElementArrayFinder |
Public Methods
public answeredBy(actor: AnswersQuestions & UsesAbilities): Promise<void> source
Params:
Name | Type | Attribute | Description |
actor | AnswersQuestions & UsesAbilities |
Returns:
Promise<void> |
public of(parent: Question<ElementFinder> | ElementFinder): TargetNestedElements source
Params:
Name | Type | Attribute | Description |
parent | Question<ElementFinder> | ElementFinder |