Package com.codeborne.selenide.webdriver
Class ChromeDriverFactory
- java.lang.Object
-
- com.codeborne.selenide.webdriver.AbstractDriverFactory
-
- com.codeborne.selenide.webdriver.ChromeDriverFactory
-
- All Implemented Interfaces:
DriverFactory
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()org.openqa.selenium.WebDrivercreate(Config config, Browser browser, org.openqa.selenium.Proxy proxy)org.openqa.selenium.MutableCapabilitiescreateCapabilities(Config config, Browser browser, org.openqa.selenium.Proxy proxy)protected java.util.List<java.lang.String>createChromeArguments(Config config, Browser browser)protected java.lang.StringdownloadsFolder(Config config)protected java.lang.String[]excludeSwitches()protected java.util.Map<java.lang.String,java.lang.Object>mobileEmulation(Config config)protected java.util.Map<java.lang.String,java.lang.Object>prefs(Config config)voidsetupWebdriverBinary()-
Methods inherited from class com.codeborne.selenide.webdriver.AbstractDriverFactory
convertStringToNearestObjectType, createCommonCapabilities, isBoolean, isInteger, isSystemPropertyNotSet, majorVersion, transferCapabilitiesFromSystemProperties
-
-
-
-
Method Detail
-
setupWebdriverBinary
public void setupWebdriverBinary()
-
create
public org.openqa.selenium.WebDriver create(Config config, Browser browser, org.openqa.selenium.Proxy proxy)
-
buildService
protected org.openqa.selenium.chrome.ChromeDriverService buildService()
-
createCapabilities
public org.openqa.selenium.MutableCapabilities createCapabilities(Config config, Browser browser, org.openqa.selenium.Proxy proxy)
-
createChromeArguments
protected java.util.List<java.lang.String> createChromeArguments(Config config, Browser browser)
-
excludeSwitches
protected java.lang.String[] excludeSwitches()
-
mobileEmulation
protected java.util.Map<java.lang.String,java.lang.Object> mobileEmulation(Config config)
-
prefs
protected java.util.Map<java.lang.String,java.lang.Object> prefs(Config config)
-
downloadsFolder
protected java.lang.String downloadsFolder(Config config)
-
-