Added getWebPage function