Pivotal Labs

Main menu

Skip to primary content
Skip to secondary content
  • About
  • Case Studies
  • Team
    • Executives
    • Locations
      • San Francisco (HQ)
      • Boston
      • Boulder
      • Denver
      • London
      • Los Angeles
      • New York
  • Community
    • Blogs
    • Tech Talks
    • Events
  • Careers
    • Lifestyle
    • Principles & Practices
    • Benefits
    • FAQ
    • Apply
  • Contact
    • Press Room
    • Press Releases
    • In The News
    • Press Kit
  • All
  • Labs
  • Standup
  • Tracker

Standup 2/8/2011: Simulating mouse events in Capybara

Jacob Maine
Tuesday, February 8, 2011

Interesting Things

  • Trying to test functional Ruby with RSpec? Here’s an idea.

  • Worth another pointer: Source RVM in your bash scripts if you need RVM to manage Ruby and gemsets. Some people object to using RVM in production – they prefer to set GEM_HOME and PATH, or use the system Ruby.

Ask for Help

  • “Is there a clean way to simulate mouse events in Capybara tests?”

Capybara and Selenium don’t seem to have tools for simulating mouse events other than ‘click’. You can ask Selenium to execute JavaScript that triggers a mouse-up event. But is there a nicer way, either in Capybara or Selenium?

  • “vestal_versions is a popular record versioning tool for Rails. Any other suggestions?”

  • “We have a bunch of markup generated by a WYSIWYG editor. We’re changing our routing and need to update all the links. Is Nokogiri the best solution?”

  • 0 Shares
  • Share on Facebook
  • Share on Twitter

One comment

  1. Jari Bakken says:

    The WebDriver team is working hard on supporting more advanced interactions, including detailed control over input devices (like mouse and keyboard). Look for some new APIs for this in the selenium-webdriver gem soon.

    February 9, 2011 at 2:46 pm

Add New Comment Cancel reply

Your email address will not be published.

Jacob Maine

Jacob Maine
Boston

Recent Posts

  • Standup 2012/2/1: Speed kills
  • Standup 2012/1/31: The bleeding edge
  • Standup 1/30/2012: It’s all about sharing
Subscribe to Jacob's Feed

Author Topics

agile (14)
testing (6)
rails (2)
prototype (2)
jruby (1)
hpricot (1)
  • About
  • Case Studies
  • Team
  • Community
  • Careers
  • Contact
  • Labs
  • Events

Contact Us

contact@pivotallabs.com
+1 415-77-PIVOT
TwitterLinkedInFacebook

Pivotal Tracker

Tracker is the award-winning agile project management tool that enables real-time collaboration around a shared, prioritized backlog.
Visit pivotaltracker.com >