Skip to content

LocatorAction.Swipe

Namespace: E2E.Engine

public sealed record LocatorAction.Swipe : LocatorAction, IEquatable<LocatorAction>, IEquatable<LocatorAction.Swipe>

Scrolls a scrollable node about three quarters of its height or width. The viewport swipe is CancellationToken).

Inheritance: object → LocatorAction

Implements: IEquatable<LocatorAction>, IEquatable<LocatorAction.Swipe>

View source

public Swipe(ScrollDirection Direction, Momentum? Momentum = null)

Scrolls a scrollable node about three quarters of its height or width. The viewport swipe is CancellationToken).

Parameters

Name Type Description
Direction ScrollDirection
Momentum Momentum?

View source

public ScrollDirection Direction { get; init; }

Value: ScrollDirection

View source

public Momentum? Momentum { get; init; }

Value: Momentum?

View source