Table of Contents

Class SetTouchEmulationEnabledCommandSettings

Namespace
OpenQA.Selenium.DevTools.V146.Emulation
Assembly
Selenium.WebDriver.dll

Enables touch on platforms which do not support them.

public sealed class SetTouchEmulationEnabledCommandSettings : ICommand
Inheritance
SetTouchEmulationEnabledCommandSettings
Implements
Inherited Members

Properties

CommandName

Gets the name of the command.

[JsonIgnore]
public string CommandName { get; }

Property Value

string

Enabled

Whether the touch event emulation should be enabled.

[JsonPropertyName("enabled")]
public bool Enabled { get; set; }

Property Value

bool

MaxTouchPoints

Maximum touch points supported. Defaults to one.

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

Property Value

long?