@Retention(value=RUNTIME)
public @interface PageUrl
| Modifier and Type | Required Element and Description |
|---|---|
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.
|
| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.String |
file |
boolean |
isLocalFile |
public abstract java.lang.String value
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"
Copyright © 2018 FluentLenium. All Rights Reserved.