Package com.codeborne.selenide.webdriver
Class ChromeDriverFactory
java.lang.Object
com.codeborne.selenide.webdriver.AbstractDriverFactory
com.codeborne.selenide.webdriver.AbstractChromiumDriverFactory
com.codeborne.selenide.webdriver.ChromeDriverFactory
- All Implemented Interfaces:
DriverFactory
@ParametersAreNonnullByDefault
public class ChromeDriverFactory
extends AbstractChromiumDriverFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addHeadless
(org.openqa.selenium.chrome.ChromeOptions options) protected org.openqa.selenium.chrome.ChromeDriverService
buildService
(Config config) org.openqa.selenium.WebDriver
create
(Config config, Browser browser, org.openqa.selenium.Proxy proxy, File browserDownloadsFolder) org.openqa.selenium.chrome.ChromeOptions
createCapabilities
(Config config, Browser browser, org.openqa.selenium.Proxy proxy, File browserDownloadsFolder) createChromeArguments
(Config config, Browser browser) protected String[]
excludeSwitches
(org.openqa.selenium.Capabilities capabilities) Methods inherited from class com.codeborne.selenide.webdriver.AbstractChromiumDriverFactory
createChromiumArguments, createHeadlessArguments, merge, parsePreferencesFromString, prefs
Methods inherited from class com.codeborne.selenide.webdriver.AbstractDriverFactory
cast, convertStringToNearestObjectType, createCommonCapabilities, createCommonCapabilities, isBoolean, isInteger, isSystemPropertyNotSet, majorVersion, transferCapabilitiesFromSystemProperties, webdriverLog, withLog
-
Constructor Details
-
ChromeDriverFactory
public ChromeDriverFactory()
-
-
Method Details
-
create
-
buildService
@CheckReturnValue @Nonnull protected org.openqa.selenium.chrome.ChromeDriverService buildService(Config config) -
createCapabilities
-
addHeadless
protected void addHeadless(org.openqa.selenium.chrome.ChromeOptions options) -
createChromeArguments
-
excludeSwitches
@CheckReturnValue @Nonnull protected String[] excludeSwitches(org.openqa.selenium.Capabilities capabilities) -
mobileEmulation
-