# Ruby browser

**URL:** <https://www.ruby-forum.com/t/ruby-browser/178269>\
**Category:** Rails\
**Created:** [November 1, 2009, 8:38pm UTC](https://www.ruby-forum.com/t/ruby-browser/178269 "2009-11-01T20:38:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ernesto\_R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/ecae2f/32.png) [@Ernesto\_R](https://www.ruby-forum.com/u/Ernesto_R)\
**Post date:** [November 1, 2009, 8:38pm UTC](https://www.ruby-forum.com/t/ruby-browser/178269/1 "2009-11-01T20:38:25Z")

</div>

hi guys,

I’m trying to do a program that automates some site usage, like fetch  
the  
site, fill a field and “press” the send button. So, it’ll behave like a  
real  
browser. Is there a plugin out there ready to work ? Or, then, how can i  
make a simple browser, what’s the necessaries libraries ?

Thanks!

---

<div class="post-metadata">

**Author:** ![Ernesto\_R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/ecae2f/32.png) [@Ernesto\_R](https://www.ruby-forum.com/u/Ernesto_R)\
**Post date:** [November 1, 2009, 8:49pm UTC](https://www.ruby-forum.com/t/ruby-browser/178269/2 "2009-11-01T20:49:32Z")

</div>

On Sun, Nov 1, 2009 at 4:35 PM, Ernesto R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> hi guys,
> 
> I’m trying to do a program that automates some site usage, like fetch the  
> site, fill a field and “press” the send button. So, it’ll behave like a real  
> browser. Is there a plugin out there ready to work ? Or, then, how can i  
> make a simple browser, what’s the necessaries libraries ?

You should take a look at webrat[1]. I don’t know about the  
documentation, it wasn’t that good a while ago, but maybe they’ve  
improved it.  
Anyway, if you google around you will find some examples and things  
that will help you because it is pretty easy to use

Hope it helps.

[1][http://wiki.github.com/brynary/webrat](http://wiki.github.com/brynary/webrat)

–  
Leonardo M…  
There’s no place like ~

---

<div class="post-metadata">

**Author:** ![Ernesto\_R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/ecae2f/32.png) [@Ernesto\_R](https://www.ruby-forum.com/u/Ernesto_R)\
**Post date:** [November 2, 2009, 12:07pm UTC](https://www.ruby-forum.com/t/ruby-browser/178269/3 "2009-11-02T12:07:44Z")

</div>

refer to watir library in ruby

[http://wtr.rubyforge.org/](http://wtr.rubyforge.org/)

On Mon, Nov 2, 2009 at 1:17 AM, Leonardo M.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)wrote:

> –  
> Leonardo M…  
> There’s no place like ~
> 
> >

## Sand

> **[Fun On Rails](http://funonrails.com/)**
>
> Journal of a Web Developer #ruby #rails #JS
