Does anyone know how to use waitr and ruby to download a web page and save it as html.

I used to use wget, but last week the page was re-designed to be full of javascript, so wget isn't getting all of the data. However Firefox can. Hence driving it with ruby.