Interface SupportsLogcatFilterSpecsOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
EspressoOptions,UiAutomator2Options
public interface SupportsLogcatFilterSpecsOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet the logcat filter format.default TsetLogcatFilterSpecs(List<String> format) Allows to customize logcat output filtering.Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapabilityMethods inherited from interface org.openqa.selenium.Capabilities
asMap, get, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge, required
-
Field Details
-
LOGCAT_FILTER_SPECS_OPTION
- See Also:
-
-
Method Details
-
setLogcatFilterSpecs
Allows to customize logcat output filtering.- Parameters:
format- The filter specifier. Consists from series of `tag[:priority]` items, where `tag` is a log component tag (or `*` to match any value) and `priority`: V (Verbose), D (Debug), I (Info), W (Warn), E (Error), F (Fatal), S (Silent - suppresses all output). `tag` without `priority` defaults to `tag:v`. If not specified, filterspec is set from ANDROID_LOG_TAGS environment variable. If no filterspec is found, filter defaults to `*:I`, which means to only show log lines with any tag and the log level INFO or higher.- Returns:
- self instance for chaining.
-
getLogcatFilterSpecs
Get the logcat filter format.- Returns:
- Format specifier. See the documentation on
setLogcatFilterSpecs(List)for more details.
-