Interface SupportsWebviewDevtoolsPortOption<T extends BaseOptions<T>>

All Superinterfaces:
CanSetCapability<T>, org.openqa.selenium.Capabilities, Serializable
All Known Implementing Classes:
EspressoOptions, UiAutomator2Options

public interface SupportsWebviewDevtoolsPortOption<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 local port number to use for devtools communication.
    default T
    The local port number to use for devtools communication.

    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

    • setWebviewDevtoolsPort

      default T setWebviewDevtoolsPort(int port)
      The local port number to use for devtools communication. By default, the first free port from 10900..11000 range is selected. Consider setting the custom value if you are running parallel tests.
      Parameters:
      port - port number in range 0..65535
      Returns:
      self instance for chaining.
    • getWebviewDevtoolsPort

      default Optional<Integer> getWebviewDevtoolsPort()
      Get the local port number to use for devtools communication.
      Returns:
      Port number.