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

Value

Extends:

@serenity-js/core~Question → Value

Static Method Summary

Static Public Methods
public static

of(target: Question | ElementFinder): *

Constructor Summary

Public Constructor
public

Method Summary

Public Methods
public

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

Makes the provided Actor answer this Question.

public

of(parent: Question | ElementFinder): Question

Static Public Methods

public static of(target: Question | ElementFinder): * source

Params:

NameTypeAttributeDescription
target Question | ElementFinder

Returns:

*

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>

public of(parent: Question | ElementFinder): Question source

Params:

NameTypeAttributeDescription
parent Question | ElementFinder

Returns:

Question