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
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default Optional<Integer>
    Get the size of a single remote debugger socket chunk.
    default T
    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

    Methods inherited from interface org.openqa.selenium.Capabilities

    asMap, get, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge, required
  • Field Details

  • Method Details

    • 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 Optional<Integer> getSafariSocketChunkSize()
      Get the size of a single remote debugger socket chunk.
      Returns:
      Chunk size in bytes.