Interface SupportsSafariWebInspectorMaxFrameLengthOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
XCUITestOptions
public interface SupportsSafariWebInspectorMaxFrameLengthOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SAFARI_WEB_INSPECTOR_MAX_FRAME_LENGTH_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.lang.Integer>
getSafariWebInspectorMaxFrameLength()
Get the maximum size in bytes of a single data frame for the Web Inspector.default T
setSafariWebInspectorMaxFrameLength(int length)
The maximum size in bytes of a single data frame for the Web Inspector.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
SAFARI_WEB_INSPECTOR_MAX_FRAME_LENGTH_OPTION
static final java.lang.String SAFARI_WEB_INSPECTOR_MAX_FRAME_LENGTH_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
setSafariWebInspectorMaxFrameLength
default T setSafariWebInspectorMaxFrameLength(int length)
The maximum size in bytes of a single data frame for the Web Inspector. Too high values could introduce slowness and/or memory leaks. Too low values could introduce possible buffer overflow exceptions. Defaults to 20MB (20*1024*1024).- Parameters:
length
- Max size of a single data frame.- Returns:
- self instance for chaining.
-
getSafariWebInspectorMaxFrameLength
default java.util.Optional<java.lang.Integer> getSafariWebInspectorMaxFrameLength()
Get the maximum size in bytes of a single data frame for the Web Inspector.- Returns:
- Size in bytes.
-
-