title: Selenium Webdriver Python - how do I drag and drop a photo that is in my mac to a web photo upload interface?
body: <p>How can I drag and drop a photo that in my finder(mac) to a web upload interface (droppable).
  I attached below the screenshots of the scenarios I want to do and the source code of droppable interface.</p>
  <p>I used action chain but I I'm not sure I understand the parameters (source, target)</p>
  <pre><code>from selenium.webdriver import ActionChains
  
  action = ActionChains(driver)
  action.drag_and_drop('source','target').perform()
  </code></pre>
  <p><a href="https://i.stack.imgur.com/hdnc0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hdnc0.png" alt="Screenshot_1" /></a></p>
  <p><a href="https://i.stack.imgur.com/P9Fhb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/P9Fhb.png" alt="screenshot_2" /></a></p>