Package com.codeborne.selenide.webdriver
Class EdgeDriverFactory
- java.lang.Object
-
- com.codeborne.selenide.webdriver.EdgeDriverFactory
-
- All Implemented Interfaces:
DriverFactory
public class EdgeDriverFactory extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description EdgeDriverFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.ObjectconvertStringToNearestObjectType(java.lang.String value)Converts String to Boolean\Integer or returns original String.org.openqa.selenium.WebDrivercreate(Config config, Browser browser, org.openqa.selenium.Proxy proxy)org.openqa.selenium.edge.EdgeOptionscreateCapabilities(Config config, Browser browser, org.openqa.selenium.Proxy proxy)protected org.openqa.selenium.MutableCapabilitiescreateCommonCapabilities(Config config, Browser browser, org.openqa.selenium.Proxy proxy)protected booleanisBoolean(java.lang.String value)protected booleanisInteger(java.lang.String value)protected booleanisSystemPropertyNotSet(java.lang.String key)protected intmajorVersion(java.lang.String browserVersion)voidsetupWebdriverBinary()protected voidtransferCapabilitiesFromSystemProperties(org.openqa.selenium.remote.DesiredCapabilities currentBrowserCapabilities)
-
-
-
Method Detail
-
setupWebdriverBinary
public void setupWebdriverBinary()
-
create
public org.openqa.selenium.WebDriver create(Config config, Browser browser, org.openqa.selenium.Proxy proxy)
-
createCapabilities
public org.openqa.selenium.edge.EdgeOptions createCapabilities(Config config, Browser browser, org.openqa.selenium.Proxy proxy)
-
createCommonCapabilities
protected org.openqa.selenium.MutableCapabilities createCommonCapabilities(Config config, Browser browser, org.openqa.selenium.Proxy proxy)
-
transferCapabilitiesFromSystemProperties
protected void transferCapabilitiesFromSystemProperties(org.openqa.selenium.remote.DesiredCapabilities currentBrowserCapabilities)
-
convertStringToNearestObjectType
protected java.lang.Object convertStringToNearestObjectType(java.lang.String value)
Converts String to Boolean\Integer or returns original String.- Parameters:
value- string to convert- Returns:
- string's object representation
-
isInteger
protected boolean isInteger(java.lang.String value)
-
isBoolean
protected boolean isBoolean(java.lang.String value)
-
isSystemPropertyNotSet
protected boolean isSystemPropertyNotSet(java.lang.String key)
-
majorVersion
protected int majorVersion(java.lang.String browserVersion)
-
-