public interface SupportsOrientationOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ORIENTATION_OPTION |
| Modifier and Type | Method and Description |
|---|---|
default java.util.Optional<org.openqa.selenium.ScreenOrientation> |
getOrientation()
Get the orientation of the screen.
|
default T |
setOrientation(org.openqa.selenium.ScreenOrientation orientation)
Set the orientation of the screen.
|
asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, mergeamend, setCapabilitystatic final java.lang.String ORIENTATION_OPTION
default T setOrientation(org.openqa.selenium.ScreenOrientation orientation)
orientation - is the screen orientation.default java.util.Optional<org.openqa.selenium.ScreenOrientation> getOrientation()