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

TargetElement

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

Extends:

Question → TargetElement

Implements:

See also:

Constructor Summary

Public Constructor
public

Method Summary

Public Methods
public

answeredBy(actor: AnswersQuestions & UsesAbilities): Promise

public

of(parent: Answerable): Question

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): Question source

Params:

NameTypeAttributeDescription
parent Answerable

Returns:

Question