public Class<?> getDescribedInterface() {
return LocationContext.class;
}
public InterfaceImplementation getImplementation(Object value) {
return new InterfaceImplementation() {
public Object invoke(ExecuteMethod executeMethod, Method method, Object... args) {
if ("location".equals(method.getName())) {
Map<Object, Object> map =
(Map<Object, Object>) executeMethod.execute(DriverCommand.GET_LOCATION, null);