title: Using selenium and python to extract data when it pops up after mouse hover
body: <p>Hi guys this is my first question. I am trying to extract data from a website. But the problem is, it only appears when I hover my mouse over it. the website to the data is <a href="http://insideairbnb.com/melbourne/" rel="nofollow noreferrer">http://insideairbnb.com/melbourne/</a> . I want to extract the occupancy rate for each listing from the panel that pops up when I hover my mouse pointer over the points on the map. I am trying to use @frianH code from this stackoverflow post <a href="https://stackoverflow.com/questions/57901045/scrape-website-with-dynamic-mouseover-event">Scrape website with dynamic mouseover event</a>. I am a newbie in data extraction using selenium. I have knowledge about bs4 package. I havent been successful in finding the right xpath to complete the task. Thank you in advance. my code so far is </p>
  
  <pre><code>from selenium.webdriver.support.ui import WebDriverWait
  from selenium.webdriver.support import expected_conditions as EC
  from selenium.webdriver import ActionChains
  from selenium import webdriver
  
  chrome_options = webdriver.ChromeOptions()
  browser = webdriver.Chrome(options=chrome_options, executable_path='C:\\Users\\Kunal\\chromedriver.exe')
  browser.get('http://insideairbnb.com/melbourne/')
  browser.maximize_window()
  
  #wait all circle
  elements = WebDriverWait(browser, 20).until(EC.visibility_of_all_elements_located((By.XPATH, '//*[@id="map"]/div[1]/div[2]/div[2]/svg')))
  table = browser.find_element_by_class_name('leaflet-zoom-animated')
  
  #move perform -&gt; to table
  browser.execute_script("arguments[0].scrollIntoView(true);", table)
  
  data = []
  for circle in elements:
      #move perform -&gt; to each circle
      ActionChains(browser).move_to_element(circle).perform()
      # wait change mouseover effect
      mouseover = WebDriverWait(browser, 30).until(EC.visibility_of_element_located((By.XPATH, '//*[@id="neighbourhoodBoundaries"]')))
      data.append(mouseover.text)
  
  print(data[0])
  </code></pre>
  
  <p>thanks in adnvace</p>