Interface SupportsSafariSocketChunkSizeOption<T extends BaseOptions<T>>

    • 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 org.openqa.selenium.Capabilities

        asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatform, getPlatformName, getVersion, is, merge
    • 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.