Interface SupportsWebviewDevtoolsPortOption<T extends BaseOptions<T>>

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.util.Optional<java.lang.Integer> getWebviewDevtoolsPort()
      Get the local port number to use for devtools communication.
      default T setWebviewDevtoolsPort​(int port)
      The local port number to use for devtools communication.
      • Methods inherited from interface org.openqa.selenium.Capabilities

        asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatform, getPlatformName, getVersion, is, merge
    • Field Detail

      • WEBVIEW_DEVTOOLS_PORT_OPTION

        static final java.lang.String WEBVIEW_DEVTOOLS_PORT_OPTION
        See Also:
        Constant Field Values
    • Method Detail

      • 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 java.util.Optional<java.lang.Integer> getWebviewDevtoolsPort()
        Get the local port number to use for devtools communication.
        Returns:
        Port number.