https://github.com/mozilla/mdn-tests/search?q=go_to_page&ref=cmdform
I stole the pattern from here.