title: how to get all open pages of android google chrome?
body: <p>could you please help me, I need to detect all the open pages  in google chrome  Android and export to  a file</p>
  
  <p>I used to use devtools://devtools/bundled/inspector.html with usb debugging, but it is obsolete </p>
  
  <p>Now you should use chrome://inspect/devices, I am using this code in chrome devtools:</p>
  
  <pre><code>ars = document.querySelectorAll('div.list.pages')[2].querySelectorAll('div.subrow')
  for (i = 0; i &lt; ars.length; ++i) {
    e1 = ars[i].querySelector('div.name').innerText
    e2 = ars[i].querySelector('div.url').innerText
    console.log(e1+';'+e2)
  }
  </code></pre>
  
  <p>to get all the pages and names but they leave incomplete.</p>
  
  <p>url showeded: <a href="https://windowserver.wordpress.com/2012/10/25/windows-server-2012-remote-desktop-standard-deployment" rel="nofollow noreferrer">https://windowserver.wordpress.com/2012/10/25/windows-server-2012-remote-desktop-standard-deployment</a>…</p>
  
  <p>the complete url: <a href="https://windowserver.wordpress.com/2012/10/25/windows-server-2012-remote-desktop-standard-deployment-parte-4-instalando-licencias-rdcal/" rel="nofollow noreferrer">https://windowserver.wordpress.com/2012/10/25/windows-server-2012-remote-desktop-standard-deployment-parte-4-instalando-licencias-rdcal/</a></p>
  
  <p>Do you know any alternative to get google chrome pages from android?</p>