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

TargetElements

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

Extends:

Question → TargetElements

Implements:

Tests:

See also:

Constructor Summary

Public Constructor
public

Method Summary

Public Methods
public

answeredBy(actor: AnswersQuestions & UsesAbilities): Promise

public
public
public

get(index: number): Question

public
public

of(parent: Answerable): TargetNestedElements

public

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

Public Constructors

public constructor() source

Public Methods

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

Params:

NameTypeAttributeDescription
actor AnswersQuestions & UsesAbilities

Returns:

Promise

public of(parent: Answerable): TargetNestedElements source

Params:

NameTypeAttributeDescription
parent Answerable

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

Params:

NameTypeAttributeDescription
question MetaQuestion
expectation Expectation

Returns:

TargetList