Interface SupportsMjpegScreenshotUrlOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
EspressoOptions
,UiAutomator2Options
public interface SupportsMjpegScreenshotUrlOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
MJPEG_SCREENSHOT_URL_OPTION
-
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 io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
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.
-
-