Skip to content

Instantly share code, notes, and snippets.

@kmayer
Created April 9, 2012 22:28
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kmayer/2347069 to your computer and use it in GitHub Desktop.
Save kmayer/2347069 to your computer and use it in GitHub Desktop.
Slow down selenium
#Slows down selenium so you can see what's going on
#http://stackoverflow.com/questions/4815516/how-can-i-run-selenium-used-through-capybara-at-a-lower-speed/5150855#5150855
#require 'selenium-webdriver'
#module ::Selenium::WebDriver::Remote
# class Bridge
# def execute(*args)
# result = raw_execute(*args)['value']
# sleep 0.1
# result
# end
# end
#end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment