title: Selenium - How to adjust the mouse speed when moving a slider?
body: <p>I've got this code to bypass captcha basically:</p>
  
  <pre><code>#!/usr/bin/python
  
  from selenium import webdriver
  from selenium.webdriver.common.keys import Keys
  from selenium.webdriver.common.action_chains import ActionChains
  import time
  import sys
  
  try:
      driver = webdriver.Chrome()
      driver.get(sys.argv[1])
      time.sleep(2)
      slider = driver.find_element_by_id('nc_2_n1z')
      move = ActionChains(driver)
      move.click_and_hold(slider).move_by_offset(400, 0).release().perform()
      time.sleep(5)
      driver.close()
  except:
      pass
  </code></pre>
  
  <p>Everything works but when I execute this code, it moves the slider very fast (probably less than 1 second) so I can't bypass the <code>Slide to verify</code> captcha. From start to finish moving the slider, I want it to take 3-5 seconds so it'll act more like a human when moving the slider. Is it possible to adjust the speed when moving the slider ?</p>