Interface SupportsClearDeviceLogsOnStartOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
EspressoOptions,UiAutomator2Options
public interface SupportsClearDeviceLogsOnStartOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault TMakes UiAutomator2 to delete all the existing logs in the device buffer before starting a new test.Get whether to delete all the existing logs in the device buffer before starting a new test.default TsetClearDeviceLogsOnStart(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, setCapabilityMethods inherited from interface org.openqa.selenium.Capabilities
asMap, get, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge, required
-
Field Details
-
CLEAR_DEVICE_LOGS_ON_START_OPTION
- See Also:
-
-
Method Details
-
clearDeviceLogsOnStart
Makes UiAutomator2 to delete all the existing logs in the device buffer before starting a new test.- Returns:
- self instance for chaining.
-
setClearDeviceLogsOnStart
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
Get whether to delete all the existing logs in the device buffer before starting a new test.- Returns:
- True or false.
-