com.atlassian.confluence.it.jsoup
Class JSoupTester

java.lang.Object
  extended by 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:
v4.3

Constructor Summary
JSoupTester(String pageSource)
           
JSoupTester(String pageSource, String baseUrl)
           
 
Method Summary
 boolean elementExists(String cssQuery)
           
 JSoupFinder findByCss(String cssQuery)
           
 JSoupFinder findById(String id)
           
 JSoupFinder global()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSoupTester

public JSoupTester(String pageSource)

JSoupTester

public JSoupTester(String pageSource,
                   String baseUrl)
Method Detail

global

public JSoupFinder global()

findByCss

public JSoupFinder findByCss(String cssQuery)

findById

public JSoupFinder findById(String id)

elementExists

public boolean elementExists(String cssQuery)


Copyright © 2003–2015 Atlassian. All rights reserved.