Interface SupportsSafariSocketChunkSizeOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
XCUITestOptions
public interface SupportsSafariSocketChunkSizeOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet the size of a single remote debugger socket chunk.default TsetSafariSocketChunkSize(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, setCapabilityMethods inherited from interface org.openqa.selenium.Capabilities
asMap, get, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge, required
-
Field Details
-
SAFARI_SOCKET_CHUNK_SIZE_OPTION
- See Also:
-
-
Method Details
-
setSafariSocketChunkSize
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
Get the size of a single remote debugger socket chunk.- Returns:
- Chunk size in bytes.
-