PhantomJS Java DOM Builder
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Managed by Zerocracy DevOps By

Build Status

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:

import com.rexsl.test.XhtmlMatchers;
import org.hamcrest.MatcherAssert;
import org.junit.Test;
import org.phandom.Phandom;
public class HtmlTest {
  public void testPageRenderability() {
      new Phandom("<html><body><p>Hey!</p></body></html>").dom(),

Download and Maven Dependency

Just use this dependency in Maven:


Or download latest release here.

How to contribute

Fork repository, make changes, send us a pull request. We will review your changes and apply them to the master branch shortly, provided they don't violate our quality standards. To avoid frustration, before sending us your pull request please run full Maven build:

mvn clean install -Pqulice

Got questions?

If you have questions or general suggestions, don't hesitate to submit a new Github issue.