Interface SupportsChromeLoggingPrefsOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
EspressoOptions
,UiAutomator2Options
public interface SupportsChromeLoggingPrefsOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CHROME_LOGGING_PREFS_OPTION
-
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 io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
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.
-
-