</ul> </div> <div class="page"> <div class="content"><h1 id="get-current-url"><a href="#get-current-url" aria-hidden="true" class="header-anchor">#</a> Get current URL</h1> <p>Print current URL after page is loaded.</p> <div class="language-python extra-class"><pre class="language-python"><code><span class="token keyword">import</span> webview
<span class="token keyword">import</span> threading


<span class="token keyword">def</span> <span class="token function">get_current_url</span><span class="token pun