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> | ElementFinder): AttributeBuilder

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> | ElementFinder): AttributeBuilder source

Params:

NameTypeAttributeDescription
target Question<ElementFinder> | ElementFinder

Returns:

AttributeBuilder

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>