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

Pick

this class was deprecated. Please use [Target.all](/modules/protractor/class/src/screenplay/questions/targets/Target.ts~Target.html) instead.
this class is experimental.

Tests:

See also:

Static Method Summary

Static Public Methods
public static

from(collection: Question | CT): Pick

Constructor Summary

Public Constructor
public

Method Summary

Public Methods
public
public
public
public

get(index: number): Question

public
public

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

Static Public Methods

public static from(collection: Question | CT): Pick source

Params:

NameTypeAttributeDescription
collection Question | CT

Returns:

Pick

Public Constructors

public constructor() source

Public Methods

public all(): Question source

Returns:

Question

public count(): Question source

Returns:

Question

public first(): Question source

Returns:

Question

public get(index: number): Question source

Params:

NameTypeAttributeDescription
index number

Returns:

Question

public last(): Question source

Returns:

Question

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

Params:

NameTypeAttributeDescription
question MetaQuestion
expectation Expectation

Returns:

Pick