Interface SupportsChromeOptionsOption<T extends BaseOptions<T>>

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.util.Optional<java.util.Map<java.lang.String,​java.lang.Object>> getChromeOptions()
      Get chrome options.
      default T setChromeOptions​(java.util.Map<java.lang.String,​java.lang.Object> opts)
      A mapping, that allows to customize chromedriver options.
      • Methods inherited from interface org.openqa.selenium.Capabilities

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

      • CHROME_OPTIONS_OPTION

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

      • setChromeOptions

        default T setChromeOptions​(java.util.Map<java.lang.String,​java.lang.Object> opts)
        A mapping, that allows to customize chromedriver options. See https://chromedriver.chromium.org/capabilities for the list of available entries.
        Parameters:
        opts - Chrome options.
        Returns:
        self instance for chaining.
      • getChromeOptions

        default java.util.Optional<java.util.Map<java.lang.String,​java.lang.Object>> getChromeOptions()
        Get chrome options.
        Returns:
        Chrome options.