Get current URL using adb or python or perl
<p>I want to get the current url the browser has in the address bar using any of the possible ways:</p>

<ol>
<li>adb</li>
<li>python</li>
<li>perl</li>
</ol>

<p>Thanks</p>
