Refactor input fuzzing into separate method

Also refreshes the page before each input