Class JSoupTester
- java.lang.Object
-
- com.atlassian.confluence.it.jsoup.JSoupTester
-
public class JSoupTester extends Object
Bridge to JSoup API. Cause CSS selectors rule the world! And assertions over generic elements also rule the world! (WTF assertTextFieldEquals???).- Since:
- 4.3
-
-
Constructor Summary
Constructors Constructor Description JSoupTester(String pageSource)JSoupTester(String pageSource, String baseUrl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanelementExists(String cssQuery)JSoupFinderfindByCss(String cssQuery)JSoupFinderfindById(String id)JSoupFinderglobal()
-
-
-
Method Detail
-
global
public JSoupFinder global()
-
findByCss
public JSoupFinder findByCss(String cssQuery)
-
findById
public JSoupFinder findById(String id)
-
elementExists
public boolean elementExists(String cssQuery)
-
-