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

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

public void AddExtension(
	string pathToExtension
)

Parameters

pathToExtension
Type: SystemString
The full path to the extension to add.
See Also

Reference