Interface SupportsClearDeviceLogsOnStartOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
EspressoOptions
,UiAutomator2Options
public interface SupportsClearDeviceLogsOnStartOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CLEAR_DEVICE_LOGS_ON_START_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default T
clearDeviceLogsOnStart()
Makes UiAutomator2 to delete all the existing logs in the device buffer before starting a new test.default java.util.Optional<java.lang.Boolean>
doesClearDeviceLogsOnStart()
Get whether to delete all the existing logs in the device buffer before starting a new test.default T
setClearDeviceLogsOnStart(boolean value)
If set to true then UiAutomator2 deletes all the existing logs in the device buffer before starting a new test.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
CLEAR_DEVICE_LOGS_ON_START_OPTION
static final java.lang.String CLEAR_DEVICE_LOGS_ON_START_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
clearDeviceLogsOnStart
default T clearDeviceLogsOnStart()
Makes UiAutomator2 to delete all the existing logs in the device buffer before starting a new test.- Returns:
- self instance for chaining.
-
setClearDeviceLogsOnStart
default T setClearDeviceLogsOnStart(boolean value)
If set to true then UiAutomator2 deletes all the existing logs in the device buffer before starting a new test.- Parameters:
value
- Set to false if you don't want to wait for the app to finish its launch.- Returns:
- self instance for chaining.
-
doesClearDeviceLogsOnStart
default java.util.Optional<java.lang.Boolean> doesClearDeviceLogsOnStart()
Get whether to delete all the existing logs in the device buffer before starting a new test.- Returns:
- True or false.
-
-