Interface SupportsDisableAutomaticScreenshotsOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
XCUITestOptions
public interface SupportsDisableAutomaticScreenshotsOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet whether to disable automatic XCTest screenshots.default TsetDisableAutomaticScreenshots(boolean value) Disable automatic screenshots taken by XCTest at every interaction.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
-
DISABLE_AUTOMATIC_SCREENSHOTS_OPTION
- See Also:
-
-
Method Details
-
setDisableAutomaticScreenshots
Disable automatic screenshots taken by XCTest at every interaction. Default is up to WebDriverAgent's config to decide, which currently defaults to true.- Parameters:
value- Whether to disable automatic XCTest screenshots.- Returns:
- self instance for chaining.
-
doesDisableAutomaticScreenshots
Get whether to disable automatic XCTest screenshots.- Returns:
- True or false.
-