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
-
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, @Nullable org.openqa.selenium.Proxy proxy, @Nullable File browserDownloadsFolder) org.openqa.selenium.chrome.ChromeOptions
createCapabilities
(Config config, Browser browser, @Nullable org.openqa.selenium.Proxy proxy, @Nullable 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, majorVersion, transferCapabilitiesFromSystemProperties, webdriverLog, withLog
-
Constructor Details
-
ChromeDriverFactory
public ChromeDriverFactory()
-
-
Method Details
-
create
-
buildService
-
createCapabilities
-
addHeadless
protected void addHeadless(org.openqa.selenium.chrome.ChromeOptions options) -
createChromeArguments
-
excludeSwitches
-
mobileEmulation
-