Interface SupportsSafariGarbageCollectOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
XCUITestOptions
public interface SupportsSafariGarbageCollectOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet whether to turn on garbage collection when executing scripts on Safari.default TEnforces to turn on garbage collection when executing scripts on Safari.default TsetSafariGarbageCollect(boolean value) Turns on/off Web Inspector garbage collection when executing scripts on Safari.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
-
SAFARI_GARBAGE_COLLECT_OPTION
- See Also:
-
-
Method Details
-
safariGarbageCollect
Enforces to turn on garbage collection when executing scripts on Safari.- Returns:
- self instance for chaining.
-
setSafariGarbageCollect
Turns on/off Web Inspector garbage collection when executing scripts on Safari. Turning on may improve performance. Defaults to false.- Parameters:
value- Whether to turn on garbage collection when executing scripts on Safari.- Returns:
- self instance for chaining.
-
doesSafariGarbageCollect
Get whether to turn on garbage collection when executing scripts on Safari.- Returns:
- True or false.
-