Table of Contents

Class SynthesizePinchGestureCommandSettings

Namespace
OpenQA.Selenium.DevTools.V148.Input
Assembly
Selenium.WebDriver.dll

Synthesizes a pinch gesture over a time period by issuing appropriate touch events.

public sealed class SynthesizePinchGestureCommandSettings : ICommand
Inheritance
SynthesizePinchGestureCommandSettings
Implements
Inherited Members

Properties

CommandName

Gets the name of the command.

[JsonIgnore]
public string CommandName { get; }

Property Value

string

GestureSourceType

Which type of input events to be generated (default: 'default', which queries the platform for the preferred input type).

[JsonPropertyName("gestureSourceType")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public GestureSourceType? GestureSourceType { get; set; }

Property Value

GestureSourceType?

RelativeSpeed

Relative pointer speed in pixels per second (default: 800).

[JsonPropertyName("relativeSpeed")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long? RelativeSpeed { get; set; }

Property Value

long?

ScaleFactor

Relative scale factor after zooming (>1.0 zooms in, <1.0 zooms out).

[JsonPropertyName("scaleFactor")]
public double ScaleFactor { get; set; }

Property Value

double

X

X coordinate of the start of the gesture in CSS pixels.

[JsonPropertyName("x")]
public double X { get; set; }

Property Value

double

Y

Y coordinate of the start of the gesture in CSS pixels.

[JsonPropertyName("y")]
public double Y { get; set; }

Property Value

double