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
Value
Gets the value of the action origin.
public object Value { get; }
Property Value
Viewport
Gets the action origin for the browser view port.
public static Origin Viewport { get; }
Property Value
Methods
Element(ElementOrigin)
Creates an action origin using an element reference.
public static Origin Element(ElementOrigin originValue)
Parameters
originValueElementOriginThe 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
elementReferenceSharedReferenceThe SharedReference object containing the element reference.
Returns
- Origin
The action origin for the specified element reference.