public class HtmlPage extends Object
Constructor and Description |
---|
HtmlPage(net.sourceforge.jwebunit.WebTester tester) |
Modifier and Type | Method and Description |
---|---|
String |
addXsrfToken(String url)
Adds a token to a given url in the FIRST position
|
String |
asString()
Returns text of the entire page
|
String |
getCollapsedResponseText()
Returns all the text nodes of the web response collapsed and then concatenated together.
|
Footer |
getFooter() |
String |
getFreshXsrfToken() |
HtmlTable |
getHtmlTable(String tableID) |
com.meterware.httpunit.WebLink[] |
getLinksWithExactText(String text) |
Optional<String> |
getRegexMatch(String regex)
Returns a regex match on the page.
|
String |
getXsrfToken() |
boolean |
isLinkPresentWithExactText(String text) |
public boolean isLinkPresentWithExactText(String text)
public com.meterware.httpunit.WebLink[] getLinksWithExactText(String text)
public String getXsrfToken()
public String getFreshXsrfToken()
public String addXsrfToken(String url)
url
- the url in questionpublic Footer getFooter()
public String asString()
public String getCollapsedResponseText()
Copyright © 2002-2019 Atlassian. All Rights Reserved.