public static interface ChromeWebDriverFactory.CookiePreparer
| Modifier and Type | Method and Description |
|---|---|
void |
prepareCookies(org.openqa.selenium.chrome.ChromeDriver driver)
Performs steps necessary to install cookies in a webdriver instance.
|
void |
supplementOptions(org.openqa.selenium.chrome.ChromeOptions options)
Parameterizes a given options instance with whatever is necessary to
prepare cookies in a Chrome browser instance.
|
void supplementOptions(org.openqa.selenium.chrome.ChromeOptions options)
throws IOException
options - the options to parameterizeIOException - if I/O errors occurvoid prepareCookies(org.openqa.selenium.chrome.ChromeDriver driver)
throws org.openqa.selenium.WebDriverException
driver - the webdriverorg.openqa.selenium.WebDriverException - should something go awryCopyright © 2016–2018. All rights reserved.