Interface SupportsChromeDrivePortOption<T extends BaseOptions<T>>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String CHROME_DRIVER_PORT  
    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.util.Optional<java.lang.Integer> getChromeDriverPort()
      Get the number of the port for the chrome driver to listen on.
      default T setChromeDriverPort​(int port)
      The port to start WebDriver processes on.
      • Methods inherited from interface org.openqa.selenium.Capabilities

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

    • Method Detail

      • setChromeDriverPort

        default T setChromeDriverPort​(int port)
        The port to start WebDriver processes on. Unless the chrome drive port preference has been user-set, it will listen on port 9515, which is the default value for this capability.
        Parameters:
        port - port number in range 0..65535.
        Returns:
        self instance for chaining.
      • getChromeDriverPort

        default java.util.Optional<java.lang.Integer> getChromeDriverPort()
        Get the number of the port for the chrome driver to listen on.
        Returns:
        Chrome driver port value.