Example usage for org.openqa.selenium Rotatable rotate

List of usage examples for org.openqa.selenium Rotatable rotate

Introduction

In this page you can find the example usage for org.openqa.selenium Rotatable rotate.

Prototype

void rotate(DeviceRotation rotation);

Source Link

Document

Changes the rotation of the browser window.

Usage

From source file:org.specrunner.webdriver.actions.rotatable.PluginRotate.java

License:Open Source License

@Override
protected void doEnd(IContext context, IResultSet result, WebDriver client, Rotatable rotatable)
        throws PluginException {
    rotatable.rotate(getOrientationValue());
    result.addResult(Success.INSTANCE, context.peek());
}