Package org.fluentlenium.core.annotation
Annotation Type PageUrl
-
@Retention(RUNTIME) public @interface PageUrlPageUrl is a class annotation used instead of getUrl method of FluentPage object. If PageUrl annotation is used the page class may not override the getUrl method.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.StringvalueThe page URL can be relative or absolute, if the URL is not recognized as absolute will be treated as relative.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.StringfilebooleanisLocalFile
-
-
-
Element Detail
-
value
java.lang.String value
The page URL can be relative or absolute, if the URL is not recognized as absolute will be treated as relative.For example :
@PageUrl("/index.html")should redirect to baseUrl + "/index.html"@PageUrl("http://example.com")should redirect to "http://example.com"@PageUrl(file = "index.html" isLocalFile = true)should redirect to "file://{resourcesDirectory}/index.html"- Returns:
- page url
-
-