Interface SupportsAutodownloadOption<T extends BaseOptions<T>>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String AUTODOWNLOAD_ENABLED  
    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.util.Optional<java.lang.Boolean> isAutodownloadEnabled()
      Get the auto download flag.
      default T setAutodownloadEnabled​(boolean autodownloadEnabled)
      Set to false for disabling automatic downloading of Chrome drivers.
      • Methods inherited from interface org.openqa.selenium.Capabilities

        asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge
    • Field Detail

      • AUTODOWNLOAD_ENABLED

        static final java.lang.String AUTODOWNLOAD_ENABLED
        See Also:
        Constant Field Values
    • Method Detail

      • setAutodownloadEnabled

        default T setAutodownloadEnabled​(boolean autodownloadEnabled)
        Set to false for disabling automatic downloading of Chrome drivers. Unless disable build check preference has been user-set, the capability is present because the default value is true.
        Parameters:
        autodownloadEnabled - flag.
        Returns:
        self instance for chaining.
      • isAutodownloadEnabled

        default java.util.Optional<java.lang.Boolean> isAutodownloadEnabled()
        Get the auto download flag.
        Returns:
        auto download flag.