A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://seleniumhq.github.io/selenium/docs/api/dotnet/webdriver/OpenQA.Selenium.ICapabilities.html below:

Interface ICapabilities

Interface ICapabilities
Namespace
OpenQA.Selenium
Assembly
WebDriver.dll

Capabilities of the browser that you are going to use

public interface ICapabilities
Properties this[string]

Gets the capability value with the specified name.

object this[string capabilityName] { get; }
Parameters
capabilityName string

The name of the capability to get.

Property Value
object

The value of the capability.

Exceptions
ArgumentException

The specified capability name is not in the set of capabilities.

Methods GetCapability(string)

Gets a capability of the browser.

object? GetCapability(string capability)
Parameters
capability string

The capability to get.

Returns
object

An object associated with the capability, or null if the capability is not set on the browser.

HasCapability(string)

Gets a value indicating whether the browser has a given capability.

bool HasCapability(string capability)
Parameters
capability string

The capability to get.

Returns
bool

Returns true if the browser has the capability; otherwise, false.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4