@property<EOL><INDENT>def current_host(self):<DEDENT>
if not self.current_url:<EOL><INDENT>return<EOL><DEDENT>result = urlparse(self.current_url)<EOL>scheme, netloc = result.scheme, result.netloc<EOL>host = netloc.split("<STR_LIT::>")[<NUM_LIT:0>] if netloc else None<EOL>return "<STR_LIT>".format(scheme, host) if host else None<EOL>
str: Host of the current page.