Example usage for org.openqa.selenium ScreenOrientation value

List of usage examples for org.openqa.selenium ScreenOrientation value

Introduction

In this page you can find the example usage for org.openqa.selenium ScreenOrientation value.

Prototype

String value

To view the source code for org.openqa.selenium ScreenOrientation value.

Click Source Link

Usage

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()));
}