• 0.4

PhantomJS Java DOM Builder

Phandom is a Java DOM builder that uses PhantomJS. For example, you have an HTML page that has to be renderable in a browser and you want to validate this fact:

public class HtmlTest {
  public void testPageRenderability() {
      new Phandom("<html><body><p>Hey!</p></body></html>").dom(),

Read this blog post for more informal explanation.