Table of Contents

Class Origin

Namespace
WebDriverBiDi.Input
Assembly
WebDriverBiDi.dll

Represents the origin of an action.

public class Origin
Inheritance
Origin
Inherited Members

Properties

Pointer

Gets the action origin for the current pointer position.

public static Origin Pointer { get; }

Property Value

Origin

Value

Gets the value of the action origin.

public object Value { get; }

Property Value

object

Viewport

Gets the action origin for the browser view port.

public static Origin Viewport { get; }

Property Value

Origin

Methods

Element(ElementOrigin)

Creates an action origin using an element reference.

public static Origin Element(ElementOrigin originValue)

Parameters

originValue ElementOrigin

The element origin point.

Returns

Origin

The action origin for the specified element reference.

Element(SharedReference)

Creates an action origin using an element reference.

public static Origin Element(SharedReference elementReference)

Parameters

elementReference SharedReference

The SharedReference object containing the element reference.

Returns

Origin

The action origin for the specified element reference.