Interface SupportsSafariSocketChunkSizeOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
XCUITestOptions
public interface SupportsSafariSocketChunkSizeOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SAFARI_SOCKET_CHUNK_SIZE_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.lang.Integer>
getSafariSocketChunkSize()
Get the size of a single remote debugger socket chunk.default T
setSafariSocketChunkSize(int size)
The size, in bytes, of the data to be sent to the Web Inspector on iOS 11+ real devices.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
SAFARI_SOCKET_CHUNK_SIZE_OPTION
static final java.lang.String SAFARI_SOCKET_CHUNK_SIZE_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
setSafariSocketChunkSize
default T setSafariSocketChunkSize(int size)
The size, in bytes, of the data to be sent to the Web Inspector on iOS 11+ real devices. Some devices hang when sending large amounts of data to the Web Inspector, and breaking them into smaller parts can be helpful in those cases. Defaults to 16384 (also the maximum possible).- Parameters:
size
- Socket chunk size in range 1..16384.- Returns:
- self instance for chaining.
-
getSafariSocketChunkSize
default java.util.Optional<java.lang.Integer> getSafariSocketChunkSize()
Get the size of a single remote debugger socket chunk.- Returns:
- Chunk size in bytes.
-
-