Interface SupportsMjpegScreenshotUrlOption<T extends BaseOptions<T>>

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.util.Optional<java.net.URL> getMjpegScreenshotUrl()
      Get URL of a service that provides realtime device screenshots in MJPEG format.
      default T setMjpegScreenshotUrl​(java.lang.String url)
      The URL of a service that provides realtime device screenshots in MJPEG format.
      default T setMjpegScreenshotUrl​(java.net.URL url)
      The URL of a service that provides realtime device screenshots in MJPEG format.
      • Methods inherited from interface org.openqa.selenium.Capabilities

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

      • MJPEG_SCREENSHOT_URL_OPTION

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

      • setMjpegScreenshotUrl

        default T setMjpegScreenshotUrl​(java.net.URL url)
        The URL of a service that provides realtime device screenshots in MJPEG format. If provided then the actual command to retrieve a screenshot will be requesting pictures from this service rather than directly from the server.
        Parameters:
        url - URL value.
        Returns:
        self instance for chaining.
      • setMjpegScreenshotUrl

        default T setMjpegScreenshotUrl​(java.lang.String url)
        The URL of a service that provides realtime device screenshots in MJPEG format. If provided then the actual command to retrieve a screenshot will be requesting pictures from this service rather than directly from the server.
        Parameters:
        url - URL value.
        Returns:
        self instance for chaining.
      • getMjpegScreenshotUrl

        default java.util.Optional<java.net.URL> getMjpegScreenshotUrl()
        Get URL of a service that provides realtime device screenshots in MJPEG format.
        Returns:
        URL value.