C# Class SePSXUnitTests.FakeChromeOptions

Description of FakeChromeOptions.
Show file Open project: apetrovskiy/STUPS

Public Properties

Property Type Description
Capability string

Public Methods

Method Description
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.

Method Details

AddArgument() public method

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.
return void

AddArguments() public method

Adds arguments to be appended to the Chrome.exe command line.
public AddArguments ( ) : void
return void

AddArguments() public method

Adds arguments to be appended to the Chrome.exe command line.
public AddArguments ( IEnumerable arguments ) : void
arguments IEnumerable An object of arguments to add.
return void

AddExtension() public method

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.
return void

AddExtensions() public method

Adds a list of paths to packed Chrome extensions (.crx files) to be installed in the instance of Chrome.
public AddExtensions ( ) : void
return void

AddExtensions() public method

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.
return void

Property Details

Capability public static property

Gets the name of the capability used to store Chrome options in a T:OpenQA.Selenium.Remote.DesiredCapabilities object.
public static string Capability
return string