Package com.codeborne.selenide.webdriver
Class ChromeDriverFactory
- java.lang.Object
-
- com.codeborne.selenide.webdriver.AbstractDriverFactory
-
- com.codeborne.selenide.webdriver.ChromeDriverFactory
-
- All Implemented Interfaces:
DriverFactory
@ParametersAreNonnullByDefault public class ChromeDriverFactory extends AbstractDriverFactory
-
-
Constructor Summary
Constructors Constructor Description ChromeDriverFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.openqa.selenium.chrome.ChromeDriverServicebuildService(Config config)org.openqa.selenium.WebDrivercreate(Config config, Browser browser, org.openqa.selenium.Proxy proxy, java.io.File browserDownloadsFolder)org.openqa.selenium.MutableCapabilitiescreateCapabilities(Config config, Browser browser, org.openqa.selenium.Proxy proxy, java.io.File browserDownloadsFolder)protected java.util.List<java.lang.String>createChromeArguments(Config config, Browser browser)protected java.lang.String[]excludeSwitches(org.openqa.selenium.Capabilities capabilities)protected java.util.Map<java.lang.String,java.lang.Object>mobileEmulation()protected java.util.Map<java.lang.String,java.lang.Object>prefs(java.io.File browserDownloadsFolder)voidsetupWebdriverBinary()-
Methods inherited from class com.codeborne.selenide.webdriver.AbstractDriverFactory
convertStringToNearestObjectType, createCommonCapabilities, isBoolean, isInteger, isSystemPropertyNotSet, majorVersion, transferCapabilitiesFromSystemProperties, webdriverLog
-
-
-
-
Method Detail
-
setupWebdriverBinary
public void setupWebdriverBinary()
-
create
@CheckReturnValue @Nonnull public org.openqa.selenium.WebDriver create(Config config, Browser browser, @Nullable org.openqa.selenium.Proxy proxy, java.io.File browserDownloadsFolder)
-
buildService
@CheckReturnValue @Nonnull protected org.openqa.selenium.chrome.ChromeDriverService buildService(Config config)
-
createCapabilities
@CheckReturnValue @Nonnull public org.openqa.selenium.MutableCapabilities createCapabilities(Config config, Browser browser, @Nullable org.openqa.selenium.Proxy proxy, @Nullable java.io.File browserDownloadsFolder)
-
createChromeArguments
@CheckReturnValue @Nonnull protected java.util.List<java.lang.String> createChromeArguments(Config config, Browser browser)
-
excludeSwitches
@CheckReturnValue @Nonnull protected java.lang.String[] excludeSwitches(org.openqa.selenium.Capabilities capabilities)
-
mobileEmulation
@CheckReturnValue @Nonnull protected java.util.Map<java.lang.String,java.lang.Object> mobileEmulation()
-
prefs
@CheckReturnValue @Nonnull protected java.util.Map<java.lang.String,java.lang.Object> prefs(@Nullable java.io.File browserDownloadsFolder)
-
-