public interface SupportsClearDeviceLogsOnStartOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLEAR_DEVICE_LOGS_ON_START_OPTION |
Modifier and Type | Method and 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.
|
asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge
amend, setCapability
static final java.lang.String CLEAR_DEVICE_LOGS_ON_START_OPTION
default T clearDeviceLogsOnStart()
default T setClearDeviceLogsOnStart(boolean value)
value
- Set to false if you don't want to wait for the app to finish its launch.default java.util.Optional<java.lang.Boolean> doesClearDeviceLogsOnStart()