Fix timing issue in WebPage test.

This test doesn't work reliably on my machine. Using `waitsFor` is more reliable and gives better performance than `waits`.

https://github.com/ariya/phantomjs/issues/12771