ChromeMobileEmulationDeviceSettings ClassWebDriver
Represents the type-safe options for setting settings for emulating a mobile device in the Chrome browser.
Inheritance Hierarchy

SystemObject
  OpenQA.Selenium.ChromeChromeMobileEmulationDeviceSettings

Namespace: OpenQA.Selenium.Chrome
Assembly: WebDriver (in WebDriver.dll) Version: 3.1.0
Syntax

public class ChromeMobileEmulationDeviceSettings

The ChromeMobileEmulationDeviceSettings type exposes the following members.

Constructors

  NameDescription
Public methodChromeMobileEmulationDeviceSettings
Initializes a new instance of the ChromeMobileEmulationDeviceSettings class.
Public methodChromeMobileEmulationDeviceSettings(String)
Initializes a new instance of the ChromeMobileEmulationDeviceSettings class.
Top
Properties

  NameDescription
Public propertyEnableTouchEvents
Gets or sets a value indicating whether touch events should be enabled by the browser when emulating a mobile device. Defaults to .
Public propertyHeight
Gets or sets the height in pixels to be used by the browser when emulating a mobile device.
Public propertyPixelRatio
Gets or sets the pixel ratio to be used by the browser when emulating a mobile device.
Public propertyUserAgent
Gets or sets the user agent string to be used by the browser when emulating a mobile device.
Public propertyWidth
Gets or sets the width in pixels to be used by the browser when emulating a mobile device.
Top
Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
See Also

Reference