viernes, 12 de febrero de 2010

No deja de ser curioso ....

... que la ley Demeter sirva para minimizar el acoplamiento.

2 comentarios:

brainstorm dijo...

But hey... some webs are a pain to parse with all of this tricky javascript code floating around, right ?

Here you are, controlling your browser (including its javascript engine) as if it was a puppet:

http://code.google.com/p/firewatir/

Did I say I liked screen scraping ? :)

Cheers

Raimon Grau dijo...

There's also selenium (http://seleniumhq.org/ , not the mercurial site :) ) that lets you drive firefox programmatically too.

I tried it some time ago, but you know, too many things to hack on, and so little time....

It also has a perl module to use it from your favourite language :) http://search.cpan.org/dist/Test-WWW-Selenium/