Added methods for saving, waiting, and getting html