Class AbstractDriverFactory

    • Constructor Detail

      • AbstractDriverFactory

        public AbstractDriverFactory()
    • Method Detail

      • webdriverLog

        @CheckReturnValue
        @Nonnull
        protected java.io.File webdriverLog​(Config config)
      • createCommonCapabilities

        @CheckReturnValue
        @Nonnull
        protected org.openqa.selenium.MutableCapabilities createCommonCapabilities​(Config config,
                                                                                   Browser browser,
                                                                                   @Nullable
                                                                                   org.openqa.selenium.Proxy proxy)
      • transferCapabilitiesFromSystemProperties

        protected void transferCapabilitiesFromSystemProperties​(org.openqa.selenium.remote.DesiredCapabilities currentBrowserCapabilities)
      • convertStringToNearestObjectType

        @CheckReturnValue
        @Nonnull
        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

        @CheckReturnValue
        protected boolean isInteger​(java.lang.String value)
      • isBoolean

        @CheckReturnValue
        protected boolean isBoolean​(java.lang.String value)
      • isSystemPropertyNotSet

        @CheckReturnValue
        protected boolean isSystemPropertyNotSet​(java.lang.String key)
      • majorVersion

        @CheckReturnValue
        protected int majorVersion​(@Nullable
                                   java.lang.String browserVersion)