Now you can create executebale jar with dependencies in lib dir. Conf stored not in jar. Use firefox as htmlunitdriver