title: Cannot click and hold element in selenium
body: <p>I would like click and hold the bar in a webpage and move it to the right.</p>
  <p>Here is my code:</p>
  <pre><code>from selenium import webdriver
  from selenium.webdriver.common.action_chains import ActionChains
  
  browser = webdriver.Ie('IEDriverServer.exe')
  url = 'https://verify.meituan.com/v2/web/general_page?action=spiderindefence&amp;requestCode=507e224b8f0f447793ad3a03830984c8&amp;platform=1000&amp;adaptor=auto&amp;succCallbackUrl=https%3A%2F%2Foptimus-mtsi.meituan.com%2Foptimus%2FverifyResult%3ForiginUrl%3Dhttp%253A%252F%252Fwww.dianping.com%252Fsearch%252Fkeyword%252F1%252F0_%2525E5%252590%25258D%2525E5%252588%25259B%2525E4%2525BC%252598%2525E5%252593%252581%252F10&amp;theme=dianping'
  browser.get(url)
  slider = browser.find_element_by_xpath(&quot;//div[@id='yodaBoxWrapper']//div[@id='yodaMoveingBar']&quot;)
  ActionChains(browser).click_and_hold(slider).move_by_offset(xoffset=50, yoffset=0).perform()
  </code></pre>
  <p>The bar does not move.</p>
  <p>What's wrong with my code?</p>
  <p>Thanks a lot.</p>