메소드 | 설명 | |
---|---|---|
ChromeExtension ( ) : System |
Initializes a new instance of the ChromeExtension class. Assumes that the directory exists and has the required
|
|
ChromeExtension ( string directory ) : System |
Initializes a new instance of the ChromeExtension class. Assumes that the directory exists and has the required
|
|
FindChromeExtensionDir ( ) : string |
Searches for the Chrome extension directory to use. Will first check the directory specified by the {@code webdriver.chrome.extensiondir} system property, and then will check the current classpath for {@code chrome-extension.zip}.
|
메소드 | 설명 | |
---|---|---|
CheckExtensionForManifest ( string directory ) : string |
Verifies that the given {@code directory} is a valid Chrome extension directory. Will check if the directory has the required {@code manifest.json} file. If not, it will check for the correct platform manifest and copy it over.
|
|
LoadExtension ( ) : string |
public ChromeExtension ( string directory ) : System | ||
directory | string | The directory to use as the Chrome extension. |
리턴 | System |