Example usage for org.openqa.selenium.remote.html5 RemoteLocationContext setLocation

List of usage examples for org.openqa.selenium.remote.html5 RemoteLocationContext setLocation

Introduction

In this page you can find the example usage for org.openqa.selenium.remote.html5 RemoteLocationContext setLocation.

Prototype

@Override
    public void setLocation(Location location) 

Source Link

Usage

From source file:com.google.iphone.testing.nativedriver.client.IosNativeDriver.java

License:Apache License

/**
 * Private method to set the geo location on the device or emulator
 *///from   w w  w.j a v a2  s.co  m
private void setLocation(Location loc) {
    RemoteLocationContext rc = new RemoteLocationContext(getExecuteMethod());
    rc.setLocation(loc);
}