Simulate typing on a page.