import {TargetNestedElements} from '@serenity-js/webdriverio/lib/screenplay/questions'
public class | source

TargetNestedElements

You probably don't want to use this class directly. See Target instead.

Extends:

Question → TargetNestedElements

Implements:

See also:

Constructor Summary

Public Constructor
public

Method Summary

Public Methods
public

async answeredBy(actor: AnswersQuestions & UsesAbilities): Promise

public
public
public

get(index: number): Question

public
public

of(parent: Answerable): Question

public

where(question: MetaQuestion, expectation: Expectation): TargetList

Public Constructors

public constructor() source

Public Methods

public async answeredBy(actor: AnswersQuestions & UsesAbilities): Promise source

Params:

NameTypeAttributeDescription
actor AnswersQuestions & UsesAbilities

Returns:

Promise

public count(): Question source

Returns:

Question

public first(): Question source

Returns:

Question

public get(index: number): Question source

Params:

NameTypeAttributeDescription
index number

Returns:

Question

public last(): Question source

Returns:

Question

public of(parent: Answerable): Question source

Params:

NameTypeAttributeDescription
parent Answerable

Returns:

Question

public where(question: MetaQuestion, expectation: Expectation): TargetList source

Params:

NameTypeAttributeDescription
question MetaQuestion
expectation Expectation

Returns:

TargetList