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

Click

Extends:

@serenity-js/core~Interaction → Click

Static Method Summary

Static Public Methods
public static

on(target: Question | ElementFinder): Interaction

Constructor Summary

Public Constructor
public

Method Summary

Public Methods
public

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

Makes the provided Actor perform this Interaction.

public

toString(): string

Generates a description to be used when reporting this Activity.

Static Public Methods

public static on(target: Question | ElementFinder): Interaction source

Params:

NameTypeAttributeDescription
target Question | ElementFinder

Returns:

Interaction

Public Constructors

public constructor() source

Public Methods

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

Makes the provided Actor perform this Interaction.

Params:

NameTypeAttributeDescription
actor UsesAbilities & AnswersQuestions

Returns:

Promise<void>

public toString(): string source

Generates a description to be used when reporting this Activity.

Returns:

string