Adding logic for getText and tagText methods. Also including validation for arguments to receive a URL.