Interface SupportsOrientationOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
EspressoOptions,UiAutomator2Options,XCUITestOptions
public interface SupportsOrientationOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault Optional<org.openqa.selenium.ScreenOrientation>Get the orientation of the screen.default TsetOrientation(org.openqa.selenium.ScreenOrientation orientation) Set the orientation of the screen.Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapabilityMethods inherited from interface org.openqa.selenium.Capabilities
asMap, get, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge, required
-
Field Details
-
ORIENTATION_OPTION
- See Also:
-
-
Method Details
-
setOrientation
Set the orientation of the screen.- Parameters:
orientation- is the screen orientation.- Returns:
- self instance for chaining.
-
getOrientation
Get the orientation of the screen.- Returns:
- ScreenOrientation of the app.
-