Table of Contents

Class RemoteWebElementFactory

Namespace
OpenQA.Selenium.Remote
Assembly
WebDriver.dll
public class RemoteWebElementFactory
Inheritance
RemoteWebElementFactory
Inherited Members

Constructors

RemoteWebElementFactory(RemoteWebDriver)

public RemoteWebElementFactory(RemoteWebDriver parentDriver)

Parameters

parentDriver RemoteWebDriver

Properties

ParentDriver

protected RemoteWebDriver ParentDriver { get; }

Property Value

RemoteWebDriver

Methods

ContainsElementReference(Dictionary<string, object>)

Gets a value indicating wether the specified dictionary represents a reference to a web element.

public bool ContainsElementReference(Dictionary<string, object> elementDictionary)

Parameters

elementDictionary Dictionary<string, object>

The dictionary to check.

Returns

bool

true if the dictionary contains an element reference; otherwise, false.

CreateElement(Dictionary<string, object>)

Creates a RemoteWebElement from a dictionary containing a reference to an element.

public virtual RemoteWebElement CreateElement(Dictionary<string, object> elementDictionary)

Parameters

elementDictionary Dictionary<string, object>

The dictionary containing the element reference.

Returns

RemoteWebElement

A RemoteWebElement containing the information from the specified dictionary.

GetElementId(Dictionary<string, object>)

public string GetElementId(Dictionary<string, object> elementDictionary)

Parameters

elementDictionary Dictionary<string, object>

Returns

string