title: Can't click on some dots to scrape information
body: <p>I've written a script in vba in combination with IE to click on some dots available on a map in a web page. When a dot is clicked, a small box containing relevant information pops up.</p>
  <p><a href="https://www.arcgis.com/apps/Embed/index.html?webmap=4712740e6d6747d18cffc6a5fa5988f8&amp;extent=-141.1354,10.7295,-49.7292,57.6712&amp;zoom=true&amp;scale=true&amp;search=true&amp;searchextent=true&amp;details=true&amp;legend=true&amp;active_panel=details&amp;basemap_gallery=true&amp;disable_scroll=true&amp;theme=light" rel="noreferrer">Link to that website</a></p>
  <p>I would like to parse the content of each box. The content of that box can be found using class name <code>contentPane</code>. However, the main concern here is to generate each box by clicking on those dots. When a box shows up, it looks how you can see in the below image.</p>
  <p>This is the script I've tried so far:</p>
  <pre><code>Sub HitDotOnAMap()
      Const Url As String = &quot;https://www.arcgis.com/apps/Embed/index.html?webmap=4712740e6d6747d18cffc6a5fa5988f8&amp;extent=-141.1354,10.7295,-49.7292,57.6712&amp;zoom=true&amp;scale=true&amp;search=true&amp;searchextent=true&amp;details=true&amp;legend=true&amp;active_panel=details&amp;basemap_gallery=true&amp;disable_scroll=true&amp;theme=light&quot;
      Dim IE As New InternetExplorer, HTML As HTMLDocument
      Dim post As Object, I&amp;
      
      With IE
          .Visible = True
          .navigate Url
          While .Busy = True Or .readyState &lt; 4: DoEvents: Wend
          Set HTML = .document
      End With
      
      Application.Wait Now + TimeValue(&quot;00:0:07&quot;)  ''the following line zooms in the slider
      HTML.querySelector(&quot;#mapDiv_zoom_slider .esriSimpleSliderIncrementButton&quot;).Click
      Application.Wait Now + TimeValue(&quot;00:0:04&quot;)
      
      With HTML.querySelectorAll(&quot;[id^='NWQMC_VM_directory_'] circle&quot;)
          For I = 0 To .Length - 1
              .item(I).Focus
              .item(I).Click
              Application.Wait Now + TimeValue(&quot;00:0:03&quot;)
              Set post = HTML.querySelector(&quot;.contentPane&quot;)
              Debug.Print post.innerText
              HTML.querySelector(&quot;[class$='close']&quot;).Click
          Next I
      End With
  End Sub
  </code></pre>
  <blockquote>
  <p>when I execute the above script, it looks like it is running smoothly but nothing happens (I meant, no clicking) and it doesn't throw any error either. Finally it quits the browser gracefully.</p>
  </blockquote>
  <p>This is how a box with information looks like when a dot gets clicked.</p>
  <p><a href="https://i.stack.imgur.com/A8QgM.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/A8QgM.jpg" alt="enter image description here" /></a></p>
  <blockquote>
  <p>Although I've used hardcoded delay within my script, they can be fixed later as soon as the macro starts working.</p>
  </blockquote>
  <p><em><strong>Question: How can I click each of the dots on that map and collect the relevant information from the popped-up box? I only expect to have any solution using <code>Internet Explorer</code></strong></em></p>
  <blockquote>
  <p>The data are not the main concern here. I would like to know how IE work in such cases so that I can deal with them in future cases. Any solution other than IE is not I'm looking for.</p>
  </blockquote>