Minor fixes to the Page class where the new method generateNodeFromElement was using legacy variable names.