throw new IllegalArgumentException(String.format("The page object '%s' that you are navigating to "
+ "using either Graphene.goTo(<page_object>) or @InitialPage is not annotated with @Location",
pageObjectClass.getSimpleName()));
}
if (location.scheme() == null) {
throw new IllegalArgumentException("Scheme for provided @Location can not be a null object.");
}
Class<?> schemeClass = null;