Interface SupportsSkipLogcatCaptureOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,java.io.Serializable
- All Known Implementing Classes:
EspressoOptions,UiAutomator2Options
public interface SupportsSkipLogcatCaptureOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringSKIP_LOGCAT_CAPTURE_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.lang.Boolean>doesSkipLogcatCapture()Get whether to delete all the existing logs in the device buffer before starting a new test.default TsetSkipLogcatCapture(boolean value)Being set to true disables automatic logcat output collection during the test run.default TskipLogcatCapture()Disables automatic logcat output collection during the test run.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
SKIP_LOGCAT_CAPTURE_OPTION
static final java.lang.String SKIP_LOGCAT_CAPTURE_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
skipLogcatCapture
default T skipLogcatCapture()
Disables automatic logcat output collection during the test run.- Returns:
- self instance for chaining.
-
setSkipLogcatCapture
default T setSkipLogcatCapture(boolean value)
Being set to true disables automatic logcat output collection during the test run. false by default- Parameters:
value- Whether to delete all the existing device logs before starting a new test.- Returns:
- self instance for chaining.
-
doesSkipLogcatCapture
default java.util.Optional<java.lang.Boolean> doesSkipLogcatCapture()
Get whether to delete all the existing logs in the device buffer before starting a new test.- Returns:
- True or false.
-
-