Wait for one page to render before fetching all pages.
Remove </input> tag
Merge pull request #3980 from Snuffleupagus/issue-3847

Remove </input> tag
Merge pull request #3978 from brendandahl/wait-for-render

Wait for one page to render before fetching all pages.