List of usage examples for org.openqa.selenium.remote DriverCommand SET_SCREEN_ORIENTATION
String SET_SCREEN_ORIENTATION
To view the source code for org.openqa.selenium.remote DriverCommand SET_SCREEN_ORIENTATION.
Click Source Link
From source file:com.google.android.testing.nativedriver.client.AndroidNativeDriver.java
License:Apache License
@Override public void rotate(ScreenOrientation orientation) { // Refers to org.openqa.selenium.android.AndroidDriver execute(DriverCommand.SET_SCREEN_ORIENTATION, ImmutableMap.of("orientation", orientation)); }
From source file:com.google.iphone.testing.nativedriver.client.IosNativeDriver.java
License:Apache License
public void rotate(ScreenOrientation orientation) { execute(DriverCommand.SET_SCREEN_ORIENTATION, ImmutableMap.of("orientation", orientation)); }
From source file:com.mengge.AppiumDriver.java
License:Apache License
@Override public void rotate(ScreenOrientation orientation) { execute(DriverCommand.SET_SCREEN_ORIENTATION, ImmutableMap.of("orientation", orientation.value().toUpperCase())); }