title: Interacting with flash with selenium webdriver Python
body: <p>I am trying to build a tool for automatic scraping of information from a website that uses flash along with Oracle BI tool. The information is presented as we select things and flash is used to render the images.</p>
  
  <p>Since I cannot scrap information from the images themselves (to my current knowledge), I found out that right clicking on the image, open a menu with "switch to table" and clicking again on that, opens a page with the data on a table scrapable from the HTML tree. My problem is that clicking on flash object (image), like:</p>
  
  <pre><code>from selenium.webdriver.support import expected_conditions as EC
  
  elem = WebDriverWait(browser, 20).until(EC.presence_of_element_located((By.XPATH, '(//embed[@type="application/x-shockwave-flash"])[1]')))
  
  menu=ActionChains(browser).move_to_element_with_offset(elem, 61, 61).click().perform()
  </code></pre>
  
  <p>But then I try to click on the “switch to table” option but I am not being able to do so, since I believe selenium is still clicking on the image below the menu. What I have tried (with different values for offset and using elem and menu elements with no success):</p>
  
  <pre><code>ActionChains(browser).move_to_element_with_offset(elem, 75, 75).click()
  </code></pre>
  
  <p>There is any way to do this?
  The website is: <a href="http://www.adrreports.eu/" rel="nofollow noreferrer">http://www.adrreports.eu/</a></p>
  
  <p>Steps to get to the image:</p>
  
  <p>Click language -> search for a report -> pick a letter and then a medicine (new tab appears)-> selecting tab named “Number of individual cases for a selected Reaction”(4th on right top) and then try to get the info from the images on the left</p>
  
  <p>Thank you,</p>