C# Класс SePSXUnitTests.FakeChromeOptions

Description of FakeChromeOptions.
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
Capability string

Открытые методы

Метод Описание
AddArgument ( string argument ) : void

Adds a single argument to the list of arguments to be appended to the Chrome.exe command line.

AddArguments ( ) : void

Adds arguments to be appended to the Chrome.exe command line.

AddArguments ( IEnumerable arguments ) : void

Adds arguments to be appended to the Chrome.exe command line.

AddExtension ( string pathToExtension ) : void

Adds a path to a packed Chrome extension (.crx file) to the list of extensions to be installed in the instance of Chrome.

AddExtensions ( ) : void

Adds a list of paths to packed Chrome extensions (.crx files) to be installed in the instance of Chrome.

AddExtensions ( IEnumerable extensions ) : void

Adds a list of paths to packed Chrome extensions (.crx files) to be installed in the instance of Chrome.

Описание методов

AddArgument() публичный Метод

Adds a single argument to the list of arguments to be appended to the Chrome.exe command line.
public AddArgument ( string argument ) : void
argument string The argument to add.
Результат void

AddArguments() публичный Метод

Adds arguments to be appended to the Chrome.exe command line.
public AddArguments ( ) : void
Результат void

AddArguments() публичный Метод

Adds arguments to be appended to the Chrome.exe command line.
public AddArguments ( IEnumerable arguments ) : void
arguments IEnumerable An object of arguments to add.
Результат void

AddExtension() публичный Метод

Adds a path to a packed Chrome extension (.crx file) to the list of extensions to be installed in the instance of Chrome.
public AddExtension ( string pathToExtension ) : void
pathToExtension string The full path to the extension to add.
Результат void

AddExtensions() публичный Метод

Adds a list of paths to packed Chrome extensions (.crx files) to be installed in the instance of Chrome.
public AddExtensions ( ) : void
Результат void

AddExtensions() публичный Метод

Adds a list of paths to packed Chrome extensions (.crx files) to be installed in the instance of Chrome.
public AddExtensions ( IEnumerable extensions ) : void
extensions IEnumerable An of full paths to the extensions to add.
Результат void

Описание свойств

Capability публичное статическое свойство

Gets the name of the capability used to store Chrome options in a T:OpenQA.Selenium.Remote.DesiredCapabilities object.
public static string Capability
Результат string