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

Attribute

Extends:

@serenity-js/core~Question → Attribute

Static Method Summary

Static Public Methods
public static

of(target: Question | ElementFinder): {"called": *}

Constructor Summary

Public Constructor
public

Method Summary

Public Methods
public

answeredBy(actor: AnswersQuestions & UsesAbilities): Promise<void>

Makes the provided Actor answer this Question.

Static Public Methods

public static of(target: Question | ElementFinder): {"called": *} source

Params:

NameTypeAttributeDescription
target Question | ElementFinder

Returns:

{"called": *}

Public Constructors

public constructor() source

Public Methods

public answeredBy(actor: AnswersQuestions & UsesAbilities): Promise<void> source

Makes the provided Actor answer this Question.

Params:

NameTypeAttributeDescription
actor AnswersQuestions & UsesAbilities

Returns:

Promise<void>