Implements WebPage.evaluate()