Interface SupportsChromeLoggingPrefsOption<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>> getChromeLoggingPrefs()
      Get chrome logging preferences.
      default T setChromeLoggingPrefs​(java.util.Map<java.lang.String,​java.lang.Object> opts)
      Chrome logging preferences mapping.
      • Methods inherited from interface org.openqa.selenium.Capabilities

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

      • CHROME_LOGGING_PREFS_OPTION

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

      • setChromeLoggingPrefs

        default T setChromeLoggingPrefs​(java.util.Map<java.lang.String,​java.lang.Object> opts)
        Chrome logging preferences mapping. Basically the same as [goog:loggingPrefs](https://newbedev.com/ getting-console-log-output-from-chrome-with-selenium-python-api-bindings). It is set to {"browser": "ALL"} by default.
        Parameters:
        opts - Chrome logging preferences.
        Returns:
        self instance for chaining.
      • getChromeLoggingPrefs

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