Interface SupportsChromeLoggingPrefsOption<T extends BaseOptions<T>>

All Superinterfaces:
CanSetCapability<T>, org.openqa.selenium.Capabilities, Serializable
All Known Implementing Classes:
EspressoOptions, UiAutomator2Options

public interface SupportsChromeLoggingPrefsOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
  • Field Details

  • Method Details

    • setChromeLoggingPrefs

      default T setChromeLoggingPrefs(Map<String,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 Optional<Map<String,Object>> getChromeLoggingPrefs()
      Get chrome logging preferences.
      Returns:
      Chrome logging preferences.