# Cucumber, Capybara + Bespin/Skywriter

**URL:** <https://www.ruby-forum.com/t/cucumber-capybara-bespin-skywriter/195897>\
**Category:** Rails\
**Created:** [October 2, 2010, 7:55am UTC](https://www.ruby-forum.com/t/cucumber-capybara-bespin-skywriter/195897 "2010-10-02T07:55:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ramontayag](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/c6cbf5/32.png) [@ramontayag](https://www.ruby-forum.com/u/ramontayag)\
**Post date:** [October 2, 2010, 7:55am UTC](https://www.ruby-forum.com/t/cucumber-capybara-bespin-skywriter/195897/1 "2010-10-02T07:55:18Z")

</div>

I know that my question requires knowledge of Cucumber, Capybara, and  
Skywriter so I just wanted to do a shout-out to anyone that has come  
across  
this.

Has anyone been able to make a  
Cucumber[http://github.com/aslakhellesoy/cucumber](http://github.com/aslakhellesoy/cucumber)scenario that works  
with Bespin  
aka Skywriter [https://mozillalabs.com/skywriter/](https://mozillalabs.com/skywriter/)? For those that  
aren’t  
familiar with it, Skywriter is an embedded text editor (among other  
things).  
It uses the canvas element and thus the step “When I fill in…” won’t  
work  
on it.

I was looking for a way to send commands or keys to elements and I found  
send-keys [http://github.com/markgandolfo/send-keys](http://github.com/markgandolfo/send-keys), an extension to  
Capybara. The problem is Skywriter makes not just one canvas but  
numerous  
elements, and I’ve sent keys to all possible canvas elements but nothing  
appears on it.

[http://github.com/markgandolfo/send-keys](http://github.com/markgandolfo/send-keys)Thanks!  
Ramon T.
