Here you can find the source of randomElement()
public static Element randomElement()
//package com.java2s; //License from project: Open Source License import org.jsoup.Jsoup; import org.jsoup.nodes.Element; public class Main { public static Element randomElement() { return Jsoup.parse("<p>text</p>"); }/* ww w . ja v a 2s . com*/ }